Home
last modified time | relevance | path

Searched refs:JITSymbolFlags (Results 1 – 25 of 90) sorted by relevance

1234

/external/llvm/include/llvm/ExecutionEngine/
DJITSymbolFlags.h23 enum class JITSymbolFlags : char { enum
29 inline JITSymbolFlags operator|(JITSymbolFlags LHS, JITSymbolFlags RHS) {
30 typedef std::underlying_type<JITSymbolFlags>::type UT;
31 return static_cast<JITSymbolFlags>(
35 inline JITSymbolFlags& operator |=(JITSymbolFlags &LHS, JITSymbolFlags RHS) {
40 inline JITSymbolFlags operator&(JITSymbolFlags LHS, JITSymbolFlags RHS) {
41 typedef std::underlying_type<JITSymbolFlags>::type UT;
42 return static_cast<JITSymbolFlags>(
46 inline JITSymbolFlags& operator &=(JITSymbolFlags &LHS, JITSymbolFlags RHS) {
54 JITSymbolBase(JITSymbolFlags Flags) : Flags(Flags) {} in JITSymbolBase()
[all …]
DRTDyldMemoryManager.h103 JITSymbolFlags::Exported); in findSymbol()
127 JITSymbolFlags::Exported); in findSymbolInLogicalDylib()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp22 JITSymbolFlags llvm::JITSymbolFlags::fromGlobalValue(const GlobalValue &GV) { in fromGlobalValue()
25 JITSymbolFlags Flags = JITSymbolFlags::None; in fromGlobalValue()
27 Flags |= JITSymbolFlags::Weak; in fromGlobalValue()
29 Flags |= JITSymbolFlags::Common; in fromGlobalValue()
31 Flags |= JITSymbolFlags::Exported; in fromGlobalValue()
34 Flags |= JITSymbolFlags::Callable; in fromGlobalValue()
37 Flags |= JITSymbolFlags::Callable; in fromGlobalValue()
46 Flags &= ~JITSymbolFlags::Exported; in fromGlobalValue()
52 JITSymbolFlags llvm::JITSymbolFlags::fromSummary(GlobalValueSummary *S) { in fromSummary()
53 JITSymbolFlags Flags = JITSymbolFlags::None; in fromSummary()
[all …]
DRuntimeDyldImpl.h221 SymbolTableEntry(unsigned SectionID, uint64_t Offset, JITSymbolFlags Flags) in SymbolTableEntry()
228 JITSymbolFlags getFlags() const { return Flags; } in getFlags()
233 JITSymbolFlags Flags = JITSymbolFlags::None;
349 virtual Expected<JITSymbolFlags> getJITSymbolFlags(const SymbolRef &Sym);
356 JITSymbolFlags Flags) const { in modifyAddressBasedOnFlags()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/
DJITSymbol.h74 class JITSymbolFlags {
93 JITSymbolFlags() = default;
96 JITSymbolFlags(FlagNames Flags) : Flags(Flags) {} in JITSymbolFlags() function
100 JITSymbolFlags(FlagNames Flags, TargetFlagsType TargetFlags) in JITSymbolFlags() function
107 bool operator==(const JITSymbolFlags &RHS) const {
112 JITSymbolFlags &operator&=(const FlagNames &RHS) {
118 JITSymbolFlags &operator|=(const FlagNames &RHS) {
179 static JITSymbolFlags fromGlobalValue(const GlobalValue &GV);
183 static JITSymbolFlags fromSummary(GlobalValueSummary *S);
187 static Expected<JITSymbolFlags>
[all …]
DRTDyldMemoryManager.h101 return JITSymbol(getSymbolAddress(Name), JITSymbolFlags::Exported); in findSymbol()
125 JITSymbolFlags::Exported); in findSymbolInLogicalDylib()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DJITSymbol.h74 class JITSymbolFlags {
91 JITSymbolFlags() = default;
94 JITSymbolFlags(FlagNames Flags) : Flags(Flags) {} in JITSymbolFlags() function
98 JITSymbolFlags(FlagNames Flags, TargetFlagsType TargetFlags) in JITSymbolFlags() function
105 bool operator==(const JITSymbolFlags &RHS) const {
110 JITSymbolFlags &operator&=(const FlagNames &RHS) {
116 JITSymbolFlags &operator|=(const FlagNames &RHS) {
162 static JITSymbolFlags fromGlobalValue(const GlobalValue &GV);
166 static Expected<JITSymbolFlags>
174 inline JITSymbolFlags operator&(const JITSymbolFlags &LHS,
[all …]
DRTDyldMemoryManager.h101 return JITSymbol(getSymbolAddress(Name), JITSymbolFlags::Exported); in findSymbol()
125 JITSymbolFlags::Exported); in findSymbolInLogicalDylib()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp21 JITSymbolFlags llvm::JITSymbolFlags::fromGlobalValue(const GlobalValue &GV) { in fromGlobalValue()
22 JITSymbolFlags Flags = JITSymbolFlags::None; in fromGlobalValue()
24 Flags |= JITSymbolFlags::Weak; in fromGlobalValue()
26 Flags |= JITSymbolFlags::Common; in fromGlobalValue()
28 Flags |= JITSymbolFlags::Exported; in fromGlobalValue()
31 Flags |= JITSymbolFlags::Callable; in fromGlobalValue()
34 Flags |= JITSymbolFlags::Callable; in fromGlobalValue()
39 Expected<JITSymbolFlags>
40 llvm::JITSymbolFlags::fromObjectSymbol(const object::SymbolRef &Symbol) { in fromObjectSymbol()
41 JITSymbolFlags Flags = JITSymbolFlags::None; in fromObjectSymbol()
[all …]
DRuntimeDyldImpl.h224 SymbolTableEntry(unsigned SectionID, uint64_t Offset, JITSymbolFlags Flags) in SymbolTableEntry()
231 JITSymbolFlags getFlags() const { return Flags; } in getFlags()
236 JITSymbolFlags Flags = JITSymbolFlags::None;
364 virtual Expected<JITSymbolFlags> getJITSymbolFlags(const SymbolRef &Sym);
371 JITSymbolFlags Flags) const { in modifyAddressBasedOnFlags()
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithLazyReexports/
DLLJITWithLazyReexports.cpp137 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}, in main()
140 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}}); in main()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DMangling.cpp50 auto Flags = JITSymbolFlags::fromGlobalValue(*GV); in add()
79 SymbolFlags[MangledName] = JITSymbolFlags::fromGlobalValue(*G); in add()
120 auto SymFlags = JITSymbolFlags::fromObjectSymbol(Sym); in getObjectSymbolInfo()
126 *SymFlags &= ~JITSymbolFlags::Exported; in getObjectSymbolInfo()
148 JITSymbolFlags::MaterializationSideEffectsOnly; in getObjectSymbolInfo()
DObjectLinkingLayer.cpp112 JITSymbolFlags Flags; in notifyResolved()
115 Flags |= JITSymbolFlags::Callable; in notifyResolved()
117 Flags |= JITSymbolFlags::Exported; in notifyResolved()
131 JITSymbolFlags Flags; in notifyResolved()
132 Flags |= JITSymbolFlags::Absolute; in notifyResolved()
134 Flags |= JITSymbolFlags::Callable; in notifyResolved()
136 Flags |= JITSymbolFlags::Weak; in notifyResolved()
DLLJIT.cpp139 JITSymbolFlags::Exported); in GenericLLVMIRPlatformSupport()
142 JITSymbolFlags()); in GenericLLVMIRPlatformSupport()
159 JITSymbolFlags()); in setupJITDylib()
474 R.defineMaterializing({{InternedName, JITSymbolFlags::Callable}})) in operator ()()
638 JITEvaluatedSymbol(pointerToJITTargetAddress(this), JITSymbolFlags()); in MachOPlatformSupport()
641 JITSymbolFlags()); in MachOPlatformSupport()
644 JITSymbolFlags()); in MachOPlatformSupport()
649 JITSymbolFlags()); in MachOPlatformSupport()
652 JITSymbolFlags()); in MachOPlatformSupport()
655 JITSymbolFlags()); in MachOPlatformSupport()
[all …]
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetRPCAPI.h79 class RPCTypeName<JITSymbolFlags> {
85 class SerializationTraits<ChannelT, JITSymbolFlags> {
88 static Error serialize(ChannelT &C, const JITSymbolFlags &Flags) { in serialize()
92 static Error deserialize(ChannelT &C, JITSymbolFlags &Flags) { in deserialize()
93 JITSymbolFlags::UnderlyingType JITFlags; in deserialize()
94 JITSymbolFlags::TargetFlagsType TargetFlags; in deserialize()
97 Flags = JITSymbolFlags(static_cast<JITSymbolFlags::FlagNames>(JITFlags), in deserialize()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetRPCAPI.h79 class RPCTypeName<JITSymbolFlags> {
85 class SerializationTraits<ChannelT, JITSymbolFlags> {
88 static Error serialize(ChannelT &C, const JITSymbolFlags &Flags) { in serialize()
92 static Error deserialize(ChannelT &C, JITSymbolFlags &Flags) { in deserialize()
93 JITSymbolFlags::UnderlyingType JITFlags; in deserialize()
94 JITSymbolFlags::TargetFlagsType TargetFlags; in deserialize()
97 Flags = JITSymbolFlags(static_cast<JITSymbolFlags::FlagNames>(JITFlags), in deserialize()
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DCoreAPIsTest.cpp105 {{Foo, JITSymbolFlags::Exported | in TEST_F()
106 JITSymbolFlags::MaterializationSideEffectsOnly}}), in TEST_F()
139 {{Foo, JITSymbolFlags::Exported | in TEST_F()
140 JITSymbolFlags::MaterializationSideEffectsOnly}}), in TEST_F()
240 auto BarHiddenFlags = BarSym.getFlags() & ~JITSymbolFlags::Exported; in TEST_F()
264 BarSym.setFlags(static_cast<JITSymbolFlags::FlagNames>( in TEST_F()
265 JITSymbolFlags::Exported | JITSymbolFlags::Weak)); in TEST_F()
320 cantFail(JD.define(symbolAliases({{Baz, {Foo, JITSymbolFlags::Exported}}, in TEST_F()
321 {Qux, {Bar, JITSymbolFlags::Weak}}}))); in TEST_F()
877 {{Foo, JITSymbolFlags::Exported}, {Bar, JITSymbolFlags::Exported}}), in TEST_F()
[all …]
DLazyCallThroughAndReexportsTest.cpp41 SymbolFlagsMap({{DummyTarget, JITSymbolFlags::Exported}}), in TEST_F()
49 JITSymbolFlags::Exported)}})); in TEST_F()
DOrcTestCommon.h66 JITEvaluatedSymbol(FooAddr, JITSymbolFlags::Exported);
68 JITEvaluatedSymbol(BarAddr, JITSymbolFlags::Exported);
70 JITEvaluatedSymbol(BazAddr, JITSymbolFlags::Exported);
72 JITEvaluatedSymbol(QuxAddr, JITSymbolFlags::Exported);
/external/llvm/include/llvm/ExecutionEngine/Orc/
DJITSymbol.h38 : JITSymbolBase(JITSymbolFlags::None), CachedAddr(0) {} in JITSymbol()
41 JITSymbol(TargetAddress Addr, JITSymbolFlags Flags) in JITSymbol()
53 JITSymbol(GetAddressFtor GetAddress, JITSymbolFlags Flags) in JITSymbol()
DIndirectionUtils.h210 typedef StringMap<std::pair<TargetAddress, JITSymbolFlags>> StubInitsMap;
216 JITSymbolFlags StubFlags) = 0;
243 JITSymbolFlags StubFlags) override { in createStub()
317 JITSymbolFlags StubFlags) { in createStubInternal()
328 StringMap<std::pair<StubKey, JITSymbolFlags>> StubIndexes;
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithTargetProcessControl/
DLLJITWithTargetProcessControl.cpp169 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}, in main()
172 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}}); in main()
/external/llvm/unittests/ExecutionEngine/Orc/
DCompileOnDemandLayerTest.cpp30 JITSymbolFlags Flags) override { in createStub()
56 return JITSymbol(1, JITSymbolFlags::Exported); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DObjectLinkingLayer.cpp104 JITSymbolFlags Flags; in notifyResolved()
107 Flags |= JITSymbolFlags::Callable; in notifyResolved()
109 Flags |= JITSymbolFlags::Exported; in notifyResolved()
123 JITSymbolFlags Flags; in notifyResolved()
124 Flags |= JITSymbolFlags::Absolute; in notifyResolved()
126 Flags |= JITSymbolFlags::Callable; in notifyResolved()
128 Flags |= JITSymbolFlags::Weak; in notifyResolved()
DLayer.cpp46 auto Flags = JITSymbolFlags::fromGlobalValue(GV); in IRMaterializationUnit()
72 SymbolFlags[MangledName] = JITSymbolFlags::fromGlobalValue(G); in IRMaterializationUnit()
208 auto SymFlags = JITSymbolFlags::fromObjectSymbol(Sym); in getObjectSymbolFlags()

1234