mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add isCodeGenOnly value to the CodeGenInstruction class.
So users of a CGI don't have to look up the value directly from the original Record; just like the rest of the convenience values in the class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134576 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d0626aacca
commit
e727d67c58
@ -311,6 +311,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R) : TheDef(R), Operands(R) {
|
||||
isAsCheapAsAMove = R->getValueAsBit("isAsCheapAsAMove");
|
||||
hasExtraSrcRegAllocReq = R->getValueAsBit("hasExtraSrcRegAllocReq");
|
||||
hasExtraDefRegAllocReq = R->getValueAsBit("hasExtraDefRegAllocReq");
|
||||
isCodeGenOnly = R->getValueAsBit("isCodeGenOnly");
|
||||
isPseudo = R->getValueAsBit("isPseudo");
|
||||
ImplicitDefs = R->getValueAsListOfDefs("Defs");
|
||||
ImplicitUses = R->getValueAsListOfDefs("Uses");
|
||||
|
@ -235,6 +235,7 @@ namespace llvm {
|
||||
bool isAsCheapAsAMove;
|
||||
bool hasExtraSrcRegAllocReq;
|
||||
bool hasExtraDefRegAllocReq;
|
||||
bool isCodeGenOnly;
|
||||
bool isPseudo;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user