Home
last modified time | relevance | path

Searched refs:TheInit (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/TableGen/
DRecord.cpp215 static UnsetInit TheInit; in get() local
216 return &TheInit; in get()
1337 Init *TheInit = Val->getValue(); in getFieldInit() local
1338 assert(TheInit != this && "Infinite loop detected!"); in getFieldInit()
1339 if (Init *I = TheInit->getFieldInit(R, RV, FieldName)) in getFieldInit()
1643 if (!TheInit) in getDefInit()
1644 TheInit.reset(new DefInit(this, new RecordRecTy(this))); in getDefInit()
1645 return TheInit.get(); in getDefInit()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp2734 TreePatternNodePtr TreePattern::ParseTreePattern(Init *TheInit, in ParseTreePattern() argument
2736 if (DefInit *DI = dyn_cast<DefInit>(TheInit)) { in ParseTreePattern()
2761 if (isa<UnsetInit>(TheInit)) { in ParseTreePattern()
2764 TreePatternNodePtr Res = std::make_shared<TreePatternNode>(TheInit, 1); in ParseTreePattern()
2770 if (isa<IntInit>(TheInit) || isa<BitInit>(TheInit)) { in ParseTreePattern()
2773 if (isa<BitInit>(TheInit)) in ParseTreePattern()
2774 TheInit = TheInit->convertInitializerTo(IntRecTy::get()); in ParseTreePattern()
2775 return std::make_shared<TreePatternNode>(TheInit, 1); in ParseTreePattern()
2778 if (BitsInit *BI = dyn_cast<BitsInit>(TheInit)) { in ParseTreePattern()
2786 DagInit *Dag = dyn_cast<DagInit>(TheInit); in ParseTreePattern()
[all …]
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp2086 TreePatternNode *TreePattern::ParseTreePattern(Init *TheInit, StringRef OpName){ in ParseTreePattern() argument
2087 if (DefInit *DI = dyn_cast<DefInit>(TheInit)) { in ParseTreePattern()
2112 if (isa<UnsetInit>(TheInit)) { in ParseTreePattern()
2115 TreePatternNode *Res = new TreePatternNode(TheInit, 1); in ParseTreePattern()
2121 if (IntInit *II = dyn_cast<IntInit>(TheInit)) { in ParseTreePattern()
2127 if (BitsInit *BI = dyn_cast<BitsInit>(TheInit)) { in ParseTreePattern()
2135 DagInit *Dag = dyn_cast<DagInit>(TheInit); in ParseTreePattern()
2137 TheInit->dump(); in ParseTreePattern()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DRecord.cpp299 static UnsetInit TheInit; in get() local
300 return &TheInit; in get()
2085 if (!TheInit) in getDefInit()
2086 TheInit = new(Allocator) DefInit(this); in getDefInit()
2087 return TheInit; in getDefInit()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DRecord.h1444 DefInit *TheInit = nullptr; variable
1583 assert(!TheInit && "changing type of record after it has been referenced"); in addSuperClass()
/external/llvm-project/llvm/lib/TableGen/
DRecord.cpp290 static UnsetInit TheInit; in get() local
291 return &TheInit; in get()
/external/llvm/include/llvm/TableGen/
DRecord.h1236 std::unique_ptr<DefInit> TheInit; variable