Searched refs:CodeInit (Results 1 – 8 of 8) sorted by relevance
510 CodeInit *CodeInit::get(StringRef V) { in get()511 static StringMap<CodeInit*, BumpPtrAllocator &> ThePool(Allocator); in get()515 Entry.second = new(Allocator) CodeInit(Entry.getKey()); in get()532 return CodeInit::get(getValue()); in convertInitializerTo()537 Init *CodeInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()539 return const_cast<CodeInit *>(this); in convertInitializerTo()1990 if (CodeInit *CI = dyn_cast<CodeInit>(R->getValue())) in getValueAsString()
63 } else if (auto *Code = dyn_cast<CodeInit>(&I)) { in translateInit()
1659 R = CodeInit::get(Lex.getCurStrVal()); in ParseSimpleValue()
624 class CodeInit : public TypedInit {627 explicit CodeInit(StringRef V) in CodeInit() function632 CodeInit(const StringInit &) = delete;633 CodeInit &operator=(const StringInit &) = delete;639 static CodeInit *get(StringRef);
760 if (CodeInit *SI = dyn_cast<CodeInit>(MCOpPred)) in emitCompressInstEmitter()
117 else if (CodeInit *CI = dyn_cast<CodeInit>(I)) in primaryRepresentation()
1114 if (CodeInit *SI = dyn_cast<CodeInit>(MCOpPred)) { in EmitPrintAliasInstruction()
222 else if (auto *CV = dyn_cast_or_null<CodeInit>(V->getValue())) in getRSTStringWithTextFallback()