mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Added TargetTriple, fixed asm stuff for non-x86 LLVM
This commit is contained in:
parent
079574a4e7
commit
e2dad5f838
8 changed files with 110 additions and 11 deletions
24
IDEHelper/Compiler/BfTargetTriple.h
Normal file
24
IDEHelper/Compiler/BfTargetTriple.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#pragma once
|
||||
|
||||
#include "BfSystem.h"
|
||||
|
||||
NS_BF_BEGIN
|
||||
|
||||
class BfTargetTriple
|
||||
{
|
||||
public:
|
||||
String mTargetTriple;
|
||||
bool mParsed;
|
||||
BfMachineType mMachineType;
|
||||
|
||||
public:
|
||||
void Parse();
|
||||
|
||||
public:
|
||||
BfTargetTriple();
|
||||
BfTargetTriple(const StringImpl& targetTriple);
|
||||
void Set(const StringImpl& targetTriple);
|
||||
BfMachineType GetMachineType();
|
||||
};
|
||||
|
||||
NS_BF_END
|
Loading…
Add table
Add a link
Reference in a new issue