Searched refs:CodeInit (Results 1 – 15 of 15) sorted by relevance
46 class CodeInit; variable102 virtual Init *convertValue( CodeInit *CI) { return 0; } in convertValue()147 virtual Init *convertValue( CodeInit *CI) { return 0; } in convertValue()192 virtual Init *convertValue( CodeInit *CI) { return 0; } in convertValue()236 virtual Init *convertValue( CodeInit *CI) { return 0; } in convertValue()282 virtual Init *convertValue( CodeInit *CI) { return 0; } in convertValue()325 virtual Init *convertValue( CodeInit *CI) { return 0; } in convertValue()368 virtual Init *convertValue( CodeInit *CI) { return (Init*)CI; } in convertValue()408 virtual Init *convertValue( CodeInit *CI) { return 0; } in convertValue()454 virtual Init *convertValue( CodeInit *CI) { return 0; } in convertValue()[all …]
57 else if (CodeInit *CI = dyn_cast<CodeInit>(I)) { in primaryRepresentation()
1081 if (CodeInit *SI = dyn_cast<CodeInit>(MCOpPred)) { in EmitPrintAliasInstruction()
452 CodeInit *CodeInit::get(StringRef V) { in get()453 static StringMap<std::unique_ptr<CodeInit>> ThePool; in get()455 std::unique_ptr<CodeInit> &I = ThePool[V]; in get()456 if (!I) I.reset(new CodeInit(V)); in get()475 Init *CodeInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()477 return const_cast<CodeInit *>(this); in convertInitializerTo()1749 if (CodeInit *CI = dyn_cast<CodeInit>(R->getValue())) in getValueAsString()
1167 R = CodeInit::get(Lex.getCurStrVal()); in ParseSimpleValue()
511 CodeInit *CodeInit::get(StringRef V) { in get()512 static StringMap<CodeInit*, BumpPtrAllocator &> ThePool(Allocator); in get()516 Entry.second = new(Allocator) CodeInit(Entry.getKey()); in get()533 return CodeInit::get(getValue()); in convertInitializerTo()538 Init *CodeInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()540 return const_cast<CodeInit *>(this); in convertInitializerTo()1989 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()
610 class CodeInit : public TypedInit {613 explicit CodeInit(StringRef V) in CodeInit() function617 CodeInit(const StringInit &Other) = delete;618 CodeInit &operator=(const StringInit &Other) = delete;624 static CodeInit *get(StringRef);
577 CodeInit *CodeInit::get(const std::string &V) { in get()578 typedef StringMap<CodeInit *> Pool; in get()581 CodeInit *&I = ThePool[V]; in get()582 if (!I) I = new CodeInit(V); in get()1963 if (CodeInit *CI = dynamic_cast<CodeInit*>(R->getValue())) in getValueAsCode()
1063 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()
1109 if (CodeInit *SI = dyn_cast<CodeInit>(MCOpPred)) { in EmitPrintAliasInstruction()