mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +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:
@@ -311,6 +311,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R) : TheDef(R), Operands(R) {
|
|||||||
isAsCheapAsAMove = R->getValueAsBit("isAsCheapAsAMove");
|
isAsCheapAsAMove = R->getValueAsBit("isAsCheapAsAMove");
|
||||||
hasExtraSrcRegAllocReq = R->getValueAsBit("hasExtraSrcRegAllocReq");
|
hasExtraSrcRegAllocReq = R->getValueAsBit("hasExtraSrcRegAllocReq");
|
||||||
hasExtraDefRegAllocReq = R->getValueAsBit("hasExtraDefRegAllocReq");
|
hasExtraDefRegAllocReq = R->getValueAsBit("hasExtraDefRegAllocReq");
|
||||||
|
isCodeGenOnly = R->getValueAsBit("isCodeGenOnly");
|
||||||
isPseudo = R->getValueAsBit("isPseudo");
|
isPseudo = R->getValueAsBit("isPseudo");
|
||||||
ImplicitDefs = R->getValueAsListOfDefs("Defs");
|
ImplicitDefs = R->getValueAsListOfDefs("Defs");
|
||||||
ImplicitUses = R->getValueAsListOfDefs("Uses");
|
ImplicitUses = R->getValueAsListOfDefs("Uses");
|
||||||
|
@@ -235,6 +235,7 @@ namespace llvm {
|
|||||||
bool isAsCheapAsAMove;
|
bool isAsCheapAsAMove;
|
||||||
bool hasExtraSrcRegAllocReq;
|
bool hasExtraSrcRegAllocReq;
|
||||||
bool hasExtraDefRegAllocReq;
|
bool hasExtraDefRegAllocReq;
|
||||||
|
bool isCodeGenOnly;
|
||||||
bool isPseudo;
|
bool isPseudo;
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user