Home
last modified time | relevance | path

Searched refs:SymbolFlags (Results 1 – 23 of 23) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DLegacyAPIInteropTest.cpp32 SymbolFlagsMap SymbolFlags = Resolver->lookupFlags(Symbols); in TEST_F() local
34 EXPECT_EQ(SymbolFlags.size(), 2U) in TEST_F()
36 EXPECT_EQ(SymbolFlags.count(Foo), 1U) << "Missing lookupFlags result for foo"; in TEST_F()
37 EXPECT_EQ(SymbolFlags.count(Bar), 1U) << "Missing lookupFlags result for bar"; in TEST_F()
38 EXPECT_EQ(SymbolFlags[Foo], FooSym.getFlags()) in TEST_F()
40 EXPECT_EQ(SymbolFlags[Bar], BarSym.getFlags()) in TEST_F()
144 auto SymbolFlags = lookupFlagsWithLegacyFn(Symbols, LegacyLookup); in TEST() local
146 EXPECT_TRUE(!!SymbolFlags) << "Expected lookupFlagsWithLegacyFn to succeed"; in TEST()
147 EXPECT_EQ(SymbolFlags->size(), 2U) << "Wrong number of flags returned"; in TEST()
148 EXPECT_EQ(SymbolFlags->count(Foo), 1U) << "Flags for foo missing"; in TEST()
[all …]
DCoreAPIsTest.cpp33 SymbolFlagsMap SymbolFlags, MaterializeFunction Materialize, in SimpleMaterializationUnit() argument
36 : MaterializationUnit(std::move(SymbolFlags)), in SimpleMaterializationUnit()
190 auto SymbolFlags = V.lookupFlags(Names); in TEST_F() local
192 EXPECT_EQ(SymbolFlags.size(), 2U) in TEST_F()
194 EXPECT_EQ(SymbolFlags.count(Foo), 1U) << "Missing lookupFlags result for Foo"; in TEST_F()
195 EXPECT_EQ(SymbolFlags[Foo], FooSym.getFlags()) in TEST_F()
197 EXPECT_EQ(SymbolFlags.count(Bar), 1U) in TEST_F()
199 EXPECT_EQ(SymbolFlags[Bar], BarSym.getFlags()) in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h503 auto SymbolFlags = lookupFlagsWithLegacyFn(Symbols, LegacyLookup); in addLogicalModule()
505 if (!SymbolFlags) { in addLogicalModule()
506 logAllUnhandledErrors(SymbolFlags.takeError(), errs(), in addLogicalModule()
511 if (SymbolFlags->size() == Symbols.size()) in addLogicalModule()
512 return *SymbolFlags; in addLogicalModule()
516 if (!SymbolFlags->count(S)) in addLogicalModule()
522 (*SymbolFlags)[KV.first] = std::move(KV.second); in addLogicalModule()
524 return *SymbolFlags; in addLogicalModule()
672 auto SymbolFlags = lookupFlagsWithLegacyFn(Symbols, LegacyLookup); in emitPartition()
673 if (!SymbolFlags) { in emitPartition()
[all …]
DLegacy.h114 SymbolFlagsMap SymbolFlags; in lookupFlagsWithLegacyFn() local
118 SymbolFlags[S] = Sym.getFlags(); in lookupFlagsWithLegacyFn()
123 return SymbolFlags; in lookupFlagsWithLegacyFn()
181 if (auto SymbolFlags = lookupFlagsWithLegacyFn(Symbols, LegacyLookup)) in lookupFlags() local
182 return std::move(*SymbolFlags); in lookupFlags()
184 ReportError(SymbolFlags.takeError()); in lookupFlags()
DCore.h141 SymbolFlagsMap getSymbols() { return SymbolFlags; } in getSymbols()
163 Error defineMaterializing(const SymbolFlagsMap &SymbolFlags);
191 MaterializationResponsibility(VSO &V, SymbolFlagsMap SymbolFlags);
194 SymbolFlagsMap SymbolFlags; variable
208 : SymbolFlags(std::move(InitalSymbolFlags)) {} in MaterializationUnit()
213 const SymbolFlagsMap &getSymbols() const { return SymbolFlags; } in getSymbols()
219 materialize(MaterializationResponsibility(V, std::move(SymbolFlags))); in doMaterialize()
225 SymbolFlags.erase(Name); in doDiscard()
230 SymbolFlagsMap SymbolFlags;
710 Error defineMaterializing(const SymbolFlagsMap &SymbolFlags);
[all …]
DLayer.h60 IRMaterializationUnit(std::unique_ptr<Module> M, SymbolFlagsMap SymbolFlags,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DCore.cpp80 raw_ostream &operator<<(raw_ostream &OS, const SymbolFlagsMap &SymbolFlags) { in operator <<() argument
82 if (!SymbolFlags.empty()) { in operator <<()
83 OS << " {\"" << *SymbolFlags.begin()->first in operator <<()
84 << "\": " << SymbolFlags.begin()->second << "}"; in operator <<()
86 make_range(std::next(SymbolFlags.begin()), SymbolFlags.end())) in operator <<()
586 VSO &V, SymbolFlagsMap SymbolFlags) in MaterializationResponsibility() argument
587 : V(V), SymbolFlags(std::move(SymbolFlags)) { in MaterializationResponsibility()
588 assert(!this->SymbolFlags.empty() && "Materializing nothing?"); in MaterializationResponsibility()
591 for (auto &KV : this->SymbolFlags) in MaterializationResponsibility()
597 assert(SymbolFlags.empty() && in ~MaterializationResponsibility()
[all …]
DLayer.cpp34 SymbolFlags[MangledName] = JITSymbolFlags::fromGlobalValue(G); in IRMaterializationUnit()
41 std::unique_ptr<Module> M, SymbolFlagsMap SymbolFlags, in IRMaterializationUnit() argument
43 : MaterializationUnit(std::move(SymbolFlags)), M(std::move(M)), in IRMaterializationUnit()
89 SymbolFlags[InternedName] = JITSymbolFlags::fromObjectSymbol(Sym); in BasicObjectLayerMaterializationUnit()
DLegacy.cpp57 SymbolFlagsMap SymbolFlags = R.lookupFlags(InternedSymbols); in lookupFlags() local
59 for (auto &KV : SymbolFlags) { in lookupFlags()
DOrcMCJITReplacement.h148 SymbolFlagsMap SymbolFlags; in lookupFlags() local
152 SymbolFlags[S] = Sym.getFlags(); in lookupFlags()
158 SymbolFlags[S] = Sym2.getFlags(); in lookupFlags()
166 return SymbolFlags; in lookupFlags()
DOrcCBindingsStack.h134 orc::SymbolFlagsMap SymbolFlags; in lookupFlags() local
138 SymbolFlags[S] = Sym.getFlags(); in lookupFlags()
145 return SymbolFlags; in lookupFlags()
DCompileOnDemandLayer.cpp139 SymbolFlagsMap SymbolFlags, in ExtractingIRMaterializationUnit() argument
142 : IRMaterializationUnit(std::move(M), std::move(SymbolFlags), in ExtractingIRMaterializationUnit()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelDAGToDAG.cpp73 unsigned char SymbolFlags; // X86II::MO_* member
78 SymbolFlags(X86II::MO_NO_FLAG) { in X86ISelAddressMode()
243 AM.SymbolFlags); in getAddressOperands()
246 AM.Align, AM.Disp, AM.SymbolFlags); in getAddressOperands()
248 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i32, AM.SymbolFlags); in getAddressOperands()
250 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i32, AM.SymbolFlags); in getAddressOperands()
253 true, AM.SymbolFlags); in getAddressOperands()
635 AM.SymbolFlags = G->getTargetFlags(); in MatchWrapper()
644 AM.SymbolFlags = CP->getTargetFlags(); in MatchWrapper()
651 AM.SymbolFlags = S->getTargetFlags(); in MatchWrapper()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/
DWasmYAML.h37 LLVM_YAML_STRONG_TYPEDEF(uint32_t, SymbolFlags)
137 SymbolFlags Flags;
374 template <> struct ScalarBitSetTraits<WasmYAML::SymbolFlags> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
375 static void bitset(IO &IO, WasmYAML::SymbolFlags &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp72 unsigned char SymbolFlags; // X86II::MO_* member
77 MCSym(nullptr), JT(-1), Align(0), SymbolFlags(X86II::MO_NO_FLAG) {} in X86ISelAddressMode()
260 AM.SymbolFlags); in getAddressOperands()
263 AM.Align, AM.Disp, AM.SymbolFlags); in getAddressOperands()
266 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i32, AM.SymbolFlags); in getAddressOperands()
269 assert(AM.SymbolFlags == 0 && "oo"); in getAddressOperands()
273 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i32, AM.SymbolFlags); in getAddressOperands()
276 AM.SymbolFlags); in getAddressOperands()
762 AM.SymbolFlags = G->getTargetFlags(); in matchWrapper()
771 AM.SymbolFlags = CP->getTargetFlags(); in matchWrapper()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCMachOSymbolFlags.h24 enum SymbolFlags { // See <mach-o/nlist.h>. enum
DMCELFSymbolFlags.h30 enum SymbolFlags { enum
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCSymbolCOFF.h22 enum SymbolFlags : uint16_t { enum
/external/llvm/include/llvm/MC/
DMCSymbolCOFF.h20 enum SymbolFlags : uint16_t { enum
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp72 unsigned char SymbolFlags; // X86II::MO_* member
77 MCSym(nullptr), JT(-1), Align(0), SymbolFlags(X86II::MO_NO_FLAG) {} in X86ISelAddressMode()
267 AM.SymbolFlags); in getAddressOperands()
270 AM.Align, AM.Disp, AM.SymbolFlags); in getAddressOperands()
273 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i32, AM.SymbolFlags); in getAddressOperands()
276 assert(AM.SymbolFlags == 0 && "oo"); in getAddressOperands()
280 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i32, AM.SymbolFlags); in getAddressOperands()
283 AM.SymbolFlags); in getAddressOperands()
1014 AM.SymbolFlags = G->getTargetFlags(); in matchWrapper()
1019 AM.SymbolFlags = CP->getTargetFlags(); in matchWrapper()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCOFF.h65 enum SymbolFlags { enum
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp207 JITSymbolResolver::LookupFlagsResult SymbolFlags; in loadObjectImpl() local
222 SymbolFlags = std::move(*FlagsResultOrErr); in loadObjectImpl()
266 auto FlagsI = SymbolFlags.find(Name); in loadObjectImpl()
267 if (FlagsI == SymbolFlags.end() || in loadObjectImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DWasmYAML.cpp426 void ScalarBitSetTraits<WasmYAML::SymbolFlags>::bitset( in bitset()
427 IO &IO, WasmYAML::SymbolFlags &Value) { in bitset()