Home
last modified time | relevance | path

Searched refs:Mangle (Results 1 – 25 of 57) sorted by relevance

123

/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithLazyReexports/
DLLJITWithLazyReexports.cpp133 MangleAndInterner Mangle(J->getExecutionSession(), J->getDataLayout()); in main() local
135 {{Mangle("foo"), in main()
136 {Mangle("foo_body"), in main()
138 {Mangle("bar"), in main()
139 {Mangle("bar_body"), in main()
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithTargetProcessControl/
DLLJITWithTargetProcessControl.cpp165 MangleAndInterner Mangle(J->getExecutionSession(), J->getDataLayout()); in main() local
167 {{Mangle("foo"), in main()
168 {Mangle("foo_body"), in main()
170 {Mangle("bar"), in main()
171 {Mangle("bar_body"), in main()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DSpeculation.h133 Error addSpeculationRuntime(JITDylib &JD, MangleAndInterner &Mangle);
179 Speculator &Spec, MangleAndInterner &Mangle, in IRSpeculationLayer() argument
182 S(Spec), Mangle(Mangle), QueryAnalysis(Interpreter) {} in IRSpeculationLayer()
195 TargetJITNames.insert(Mangle(TargetNames)); in internToJITSymbols()
196 InternedNames[Mangle(NamePair.first)] = std::move(TargetJITNames); in internToJITSymbols()
203 MangleAndInterner &Mangle; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DSpeculation.h137 Error addSpeculationRuntime(JITDylib &JD, MangleAndInterner &Mangle);
183 Speculator &Spec, MangleAndInterner &Mangle, in IRSpeculationLayer() argument
186 S(Spec), Mangle(Mangle), QueryAnalysis(Interpreter) {} in IRSpeculationLayer()
198 TargetJITNames.insert(Mangle(TargetNames)); in internToJITSymbols()
200 InternedNames[Mangle(NamePair.first)] = std::move(TargetJITNames); in internToJITSymbols()
207 MangleAndInterner &Mangle; variable
DExecutionUtils.h210 LegacyLocalCXXRuntimeOverrides(const MangleFtorT &Mangle),
216 const MangleFtorT &Mangle) { in LegacyLocalCXXRuntimeOverrides() argument
217 addOverride(Mangle("__dso_handle"), toTargetAddress(&DSOHandleOverride)); in LegacyLocalCXXRuntimeOverrides()
218 addOverride(Mangle("__cxa_atexit"), toTargetAddress(&CXAAtExitOverride)); in LegacyLocalCXXRuntimeOverrides()
239 const MangleFtorT &Mangle) { in LegacyLocalCXXRuntimeOverrides() argument
240 addOverride(Mangle("__dso_handle"), toTargetAddress(&DSOHandleOverride)); in LegacyLocalCXXRuntimeOverrides()
241 addOverride(Mangle("__cxa_atexit"), toTargetAddress(&CXAAtExitOverride)); in LegacyLocalCXXRuntimeOverrides()
/external/llvm-project/llvm/examples/SpeculativeJIT/
DSpeculativeJIT.cpp85 return ES->lookup({&MainJD}, Mangle(UnmangledName)); in lookup()
110 SpeculateLayer(*this->ES, CompileLayer, S, Mangle, BlockFreqQuery()), in SpeculativeJIT()
125 ExitOnErr(S.addSpeculationRuntime(MainJD, Mangle)); in SpeculativeJIT()
127 ExitOnErr(CXXRuntimeoverrides.enable(MainJD, Mangle)); in SpeculativeJIT()
136 MangleAndInterner Mangle{*ES, DL}; member in SpeculativeJIT
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DMangling.cpp40 MangleAndInterner Mangle(ES, GVs[0]->getParent()->getDataLayout()); in add() local
52 auto EmuTLSV = Mangle(("__emutls_v." + GV->getName()).str()); in add()
69 auto EmuTLST = Mangle(("__emutls_t." + GV->getName()).str()); in add()
78 auto MangledName = Mangle(G->getName()); in add()
DSpeculation.cpp43 MangleAndInterner &Mangle) { in addSpeculationRuntime() argument
50 {Mangle("__orc_speculator"), ThisPtr}, // Data Symbol in addSpeculationRuntime()
51 {Mangle("__orc_speculate_for"), SpeculateForEntryPtr} // Callable Symbol in addSpeculationRuntime()
DLayer.cpp40 MangleAndInterner Mangle(ES, this->TSM.getModuleUnlocked()->getDataLayout()); in IRMaterializationUnit() local
56 auto EmuTLSV = Mangle(("__emutls_v." + GV.getName()).str()); in IRMaterializationUnit()
72 auto EmuTLST = Mangle(("__emutls_t." + GV.getName()).str()); in IRMaterializationUnit()
79 auto MangledName = Mangle(G.getName()); in IRMaterializationUnit()
DExecutionUtils.cpp116 MangleAndInterner Mangle( in add() local
136 Mangle(CtorDtor.Func->getName())); in add()
185 MangleAndInterner &Mangle) { in enable() argument
187 RuntimeInterposes[Mangle("__dso_handle")] = in enable()
190 RuntimeInterposes[Mangle("__cxa_atexit")] = in enable()
/external/llvm-project/llvm/examples/Kaleidoscope/include/
DKaleidoscopeJIT.h39 MangleAndInterner Mangle; variable
51 Mangle(*this->ES, this->DL), in KaleidoscopeJIT()
96 return ES->lookup({&MainJD}, Mangle(Name.str())); in lookup()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
DKaleidoscopeJIT.h39 MangleAndInterner Mangle; variable
51 Mangle(*this->ES, this->DL), in KaleidoscopeJIT()
96 return ES->lookup({&MainJD}, Mangle(Name.str())); in lookup()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h106 MangleAndInterner Mangle(BaseLayer.getExecutionSession(), DL); in getInterface()
108 Symbols[Mangle(F.getName())] = in getInterface()
134 MangleAndInterner Mangle; variable
154 DL(std::move(DL)), Mangle(*this->ES, this->DL), in KaleidoscopeJIT()
221 return ES->lookup({&MainJD}, Mangle(Name.str())); in lookup()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DExecutionUtils.h141 LocalCXXRuntimeOverrides(const MangleFtorT &Mangle) { in LocalCXXRuntimeOverrides() argument
142 addOverride(Mangle("__dso_handle"), toTargetAddress(&DSOHandleOverride)); in LocalCXXRuntimeOverrides()
143 addOverride(Mangle("__cxa_atexit"), toTargetAddress(&CXAAtExitOverride)); in LocalCXXRuntimeOverrides()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
DKaleidoscopeJIT.h44 MangleAndInterner Mangle; variable
57 Mangle(*this->ES, this->DL), in KaleidoscopeJIT()
104 return ES->lookup({&MainJD}, Mangle(Name.str())); in lookup()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DSpeculation.cpp46 MangleAndInterner &Mangle) { in addSpeculationRuntime() argument
53 {Mangle("__orc_speculator"), ThisPtr}, // Data Symbol in addSpeculationRuntime()
54 {Mangle("__orc_speculate_for"), SpeculateForEntryPtr} // Callable Symbol in addSpeculationRuntime()
DLayer.cpp33 MangleAndInterner Mangle(ES, this->TSM.getModuleUnlocked()->getDataLayout()); in IRMaterializationUnit() local
48 auto EmuTLSV = Mangle(("__emutls_v." + GV.getName()).str()); in IRMaterializationUnit()
64 auto EmuTLST = Mangle(("__emutls_t." + GV.getName()).str()); in IRMaterializationUnit()
71 auto MangledName = Mangle(G.getName()); in IRMaterializationUnit()
DExecutionUtils.cpp120 MangleAndInterner Mangle( in add() local
140 Mangle(CtorDtor.Func->getName())); in add()
189 MangleAndInterner &Mangle) { in enable() argument
191 RuntimeInterposes[Mangle("__dso_handle")] = in enable()
194 RuntimeInterposes[Mangle("__cxa_atexit")] = in enable()
DCompileOnDemandLayer.cpp291 MangleAndInterner Mangle(ES, M.getDataLayout()); in emitPartition() local
294 SymbolFlags[Mangle(GV->getName())] = in emitPartition()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
DKaleidoscopeJIT.h47 MangleAndInterner Mangle; variable
67 DL(std::move(DL)), Mangle(*this->ES, this->DL), in KaleidoscopeJIT()
130 return ES->lookup({&MainJD}, Mangle(Name.str())); in lookup()
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/
DLLJITWithGDBRegistrationListener.cpp87 MangleAndInterner Mangle(J->getExecutionSession(), J->getDataLayout()); in main() local
91 [MainName = Mangle("main")](const orc::SymbolStringPtr &Name) { in main()
/external/llvm-project/llvm/docs/
DORCv2.rst315 { Mangle("printf"),
364 { Mangle("__MyJITInstance"),
385 Verbose ? Mangle("log_detailed") : Mangle("log_fast");
389 { Mangle("log"),
406 { Mangle("bar"), { Mangle("foo"), JITSymbolFlags::Exported } }
454 { Mangle("foo"), { Mangle("foo_body"), ReexportedFlags } },
455 { Mangle("bar"), { Mangle("bar_body"), ReexportedFlags } }
561 MangleAndInterner Mangle(ES, DL);
566 auto Sym = ES.lookup({&MainJD}, Mangle("main"));
706 MangleAndInterner Mangle(ES, DL);
[all …]
/external/llvm-project/clang/examples/clang-interpreter/
Dmain.cpp56 MangleAndInterner Mangle{ES, DL}; member in llvm::orc::SimpleJIT
109 return ES.lookup({&MainJD}, Mangle(Name)); in findSymbol()
/external/clang/lib/AST/
DCMakeLists.txt38 Mangle.cpp
/external/llvm-project/clang/lib/AST/
DMangle.cpp441 auto Mangle = [&](ObjCKind Kind, StringRef ClassName) -> std::string { in getAllManglings() local
449 Mangle(ObjCClass, ClassName), in getAllManglings()
450 Mangle(ObjCMetaclass, ClassName), in getAllManglings()

123