Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/
DSymbol.h25 enum class SymbolFlags : uint8_t { enum
59 Symbol(SymbolKind Kind, StringRef Name, TargetList Targets, SymbolFlags Flags) in Symbol()
68 SymbolFlags getFlags() const { return Flags; } in getFlags()
71 return (Flags & SymbolFlags::WeakDefined) == SymbolFlags::WeakDefined; in isWeakDefined()
75 return (Flags & SymbolFlags::WeakReferenced) == SymbolFlags::WeakReferenced; in isWeakReferenced()
79 return (Flags & SymbolFlags::ThreadLocalValue) == in isThreadLocalValue()
80 SymbolFlags::ThreadLocalValue; in isThreadLocalValue()
84 return (Flags & SymbolFlags::Undefined) == SymbolFlags::Undefined; in isUndefined()
88 return (Flags & SymbolFlags::Rexported) == SymbolFlags::Rexported; in isReexported()
111 SymbolFlags Flags;
/external/llvm-project/llvm/include/llvm/TextAPI/MachO/
DSymbol.h25 enum class SymbolFlags : uint8_t { enum
59 Symbol(SymbolKind Kind, StringRef Name, TargetList Targets, SymbolFlags Flags) in Symbol()
68 SymbolFlags getFlags() const { return Flags; } in getFlags()
71 return (Flags & SymbolFlags::WeakDefined) == SymbolFlags::WeakDefined; in isWeakDefined()
75 return (Flags & SymbolFlags::WeakReferenced) == SymbolFlags::WeakReferenced; in isWeakReferenced()
79 return (Flags & SymbolFlags::ThreadLocalValue) == in isThreadLocalValue()
80 SymbolFlags::ThreadLocalValue; in isThreadLocalValue()
84 return (Flags & SymbolFlags::Undefined) == SymbolFlags::Undefined; in isUndefined()
88 return (Flags & SymbolFlags::Rexported) == SymbolFlags::Rexported; in isReexported()
111 SymbolFlags Flags;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DLayer.cpp49 SymbolFlags[EmuTLSV] = Flags; in IRMaterializationUnit()
65 SymbolFlags[EmuTLST] = Flags; in IRMaterializationUnit()
72 SymbolFlags[MangledName] = JITSymbolFlags::fromGlobalValue(G); in IRMaterializationUnit()
79 ThreadSafeModule TSM, VModuleKey K, SymbolFlagsMap SymbolFlags, in IRMaterializationUnit() argument
81 : MaterializationUnit(std::move(SymbolFlags), std::move(K)), in IRMaterializationUnit()
153 auto SymbolFlags = in Create() local
156 if (!SymbolFlags) in Create()
157 return SymbolFlags.takeError(); in Create()
161 std::move(*SymbolFlags))); in Create()
166 SymbolFlagsMap SymbolFlags) in BasicObjectLayerMaterializationUnit() argument
[all …]
DCore.cpp196 raw_ostream &operator<<(raw_ostream &OS, const SymbolFlagsMap &SymbolFlags) { in operator <<() argument
197 return OS << printSequence(SymbolFlags, '{', '}', in operator <<()
425 JITDylib &JD, SymbolFlagsMap SymbolFlags, VModuleKey K) in MaterializationResponsibility() argument
426 : JD(JD), SymbolFlags(std::move(SymbolFlags)), K(std::move(K)) { in MaterializationResponsibility()
427 assert(!this->SymbolFlags.empty() && "Materializing nothing?"); in MaterializationResponsibility()
431 assert(SymbolFlags.empty() && in ~MaterializationResponsibility()
436 return JD.getRequestedSymbols(SymbolFlags); in getRequestedSymbols()
446 auto I = SymbolFlags.find(KV.first); in notifyResolved()
447 assert(I != SymbolFlags.end() && in notifyResolved()
460 dbgs() << "In " << JD.getName() << " emitting " << SymbolFlags << "\n"; in notifyEmitted()
[all …]
DCompileOnDemandLayer.cpp78 ThreadSafeModule TSM, SymbolFlagsMap SymbolFlags, in PartitioningIRMaterializationUnit() argument
82 std::move(SymbolFlags), in PartitioningIRMaterializationUnit()
292 SymbolFlagsMap SymbolFlags; in emitPartition() local
294 SymbolFlags[Mangle(GV->getName())] = in emitPartition()
296 if (auto Err = R.defineMaterializing(SymbolFlags)) in emitPartition()
DLazyReexports.cpp202 SymbolFlagsMap SymbolFlags; in extractFlags() local
206 SymbolFlags[KV.first] = KV.second.AliasFlags; in extractFlags()
208 return SymbolFlags; in extractFlags()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DMangling.cpp35 SymbolFlagsMap &SymbolFlags, in add() argument
53 SymbolFlags[EmuTLSV] = Flags; in add()
70 SymbolFlags[EmuTLST] = Flags; in add()
79 SymbolFlags[MangledName] = JITSymbolFlags::fromGlobalValue(*G); in add()
94 SymbolFlagsMap SymbolFlags; in getObjectSymbolInfo() local
128 SymbolFlags[InternedName] = std::move(*SymFlags); in getObjectSymbolInfo()
145 if (SymbolFlags.count(InitSymbol)) in getObjectSymbolInfo()
147 SymbolFlags[InitSymbol] = in getObjectSymbolInfo()
156 return std::make_pair(std::move(SymbolFlags), std::move(InitSymbol)); in getObjectSymbolInfo()
DLayer.cpp57 SymbolFlags[EmuTLSV] = Flags; in IRMaterializationUnit()
73 SymbolFlags[EmuTLST] = Flags; in IRMaterializationUnit()
80 SymbolFlags[MangledName] = JITSymbolFlags::fromGlobalValue(G); in IRMaterializationUnit()
93 } while (SymbolFlags.count(InitSymbol)); in IRMaterializationUnit()
95 SymbolFlags[InitSymbol] = JITSymbolFlags::MaterializationSideEffectsOnly; in IRMaterializationUnit()
101 ThreadSafeModule TSM, SymbolFlagsMap SymbolFlags, in IRMaterializationUnit() argument
103 : MaterializationUnit(std::move(SymbolFlags), std::move(InitSymbol)), in IRMaterializationUnit()
180 auto &SymbolFlags = ObjSymInfo->first; in Create() local
185 L, std::move(O), std::move(SymbolFlags), std::move(InitSymbol))); in Create()
189 ObjectLayer &L, std::unique_ptr<MemoryBuffer> O, SymbolFlagsMap SymbolFlags, in BasicObjectLayerMaterializationUnit() argument
[all …]
DCore.cpp439 SymbolFlagsMap SymbolFlags; in extractFlags() local
441 SymbolFlags[KV.first] = KV.second.AliasFlags; in extractFlags()
443 return SymbolFlags; in extractFlags()
630 JITDylib::defineMaterializing(SymbolFlagsMap SymbolFlags) { in defineMaterializing() argument
636 for (auto SFItr = SymbolFlags.begin(), SFEnd = SymbolFlags.end(); in defineMaterializing()
670 SymbolFlags.erase(RejectedWeakDefs.back()); in defineMaterializing()
674 return SymbolFlags; in defineMaterializing()
713 *RT, std::move(MU->SymbolFlags), std::move(MU->InitSymbol)); in replace()
760 SymbolFlagsMap SymbolFlags, SymbolStringPtr InitSymbol) { in delegate() argument
770 *RT, std::move(SymbolFlags), std::move(InitSymbol)); in delegate()
[all …]
DCompileOnDemandLayer.cpp81 ThreadSafeModule TSM, SymbolFlagsMap SymbolFlags, in PartitioningIRMaterializationUnit() argument
84 : IRMaterializationUnit(std::move(TSM), std::move(SymbolFlags), in PartitioningIRMaterializationUnit()
321 SymbolFlagsMap SymbolFlags; in emitPartition() local
323 PromotedGlobals, SymbolFlags); in emitPartition()
325 if (auto Err = R->defineMaterializing(SymbolFlags)) in emitPartition()
DLazyReexports.cpp224 SymbolFlagsMap SymbolFlags; in extractFlags() local
228 SymbolFlags[KV.first] = KV.second.AliasFlags; in extractFlags()
230 return SymbolFlags; in extractFlags()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DCore.h517 const SymbolFlagsMap &getSymbols() const { return SymbolFlags; } in getSymbols()
568 Error defineMaterializing(SymbolFlagsMap SymbolFlags);
613 MaterializationResponsibility(JITDylibSP JD, SymbolFlagsMap SymbolFlags, in MaterializationResponsibility() argument
615 : JD(std::move(JD)), SymbolFlags(std::move(SymbolFlags)), in MaterializationResponsibility()
618 assert(!this->SymbolFlags.empty() && "Materializing nothing?"); in MaterializationResponsibility()
622 SymbolFlagsMap SymbolFlags; variable
641 : SymbolFlags(std::move(InitalSymbolFlags)), in MaterializationUnit()
643 assert((!this->InitSymbol || this->SymbolFlags.count(this->InitSymbol)) && in MaterializationUnit()
654 const SymbolFlagsMap &getSymbols() const { return SymbolFlags; } in getSymbols()
668 SymbolFlags.erase(Name); in doDiscard()
[all …]
DLayer.h44 IRMaterializationUnit(ThreadSafeModule TSM, SymbolFlagsMap SymbolFlags,
165 SymbolFlagsMap SymbolFlags,
DMangling.h54 ArrayRef<GlobalValue *> GVs, SymbolFlagsMap &SymbolFlags,
/external/llvm-project/llvm/lib/TextAPI/MachO/
DTextStub.cpp680 SymbolFlags::WeakDefined); in denormalize()
683 SymbolFlags::ThreadLocalValue); in denormalize()
694 SymbolFlags::Undefined); in denormalize()
697 SymbolFlags::Undefined); in denormalize()
704 SymbolFlags::Undefined); in denormalize()
708 SymbolFlags::Undefined); in denormalize()
714 SymbolFlags::Undefined); in denormalize()
718 SymbolFlags::Undefined | SymbolFlags::WeakReferenced); in denormalize()
945 SymbolFlags Flag = SymbolFlags::None) { in denormalize()
965 CurrentSection.Targets, SymbolFlags::WeakDefined); in denormalize()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
DTextStub.cpp677 SymbolFlags::WeakDefined); in denormalize()
680 SymbolFlags::ThreadLocalValue); in denormalize()
691 SymbolFlags::Undefined); in denormalize()
694 SymbolFlags::Undefined); in denormalize()
701 SymbolFlags::Undefined); in denormalize()
705 SymbolFlags::Undefined); in denormalize()
711 SymbolFlags::Undefined); in denormalize()
715 SymbolFlags::Undefined | SymbolFlags::WeakReferenced); in denormalize()
942 SymbolFlags Flag = SymbolFlags::None) { in denormalize()
966 SymbolFlags::ThreadLocalValue); in denormalize()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DCore.h328 raw_ostream &operator<<(raw_ostream &OS, const SymbolFlagsMap &SymbolFlags);
457 const SymbolFlagsMap &getSymbols() const { return SymbolFlags; } in getSymbols()
503 Error defineMaterializing(SymbolFlagsMap SymbolFlags);
534 MaterializationResponsibility(JITDylib &JD, SymbolFlagsMap SymbolFlags,
538 SymbolFlagsMap SymbolFlags; variable
553 : SymbolFlags(std::move(InitalSymbolFlags)), K(std::move(K)) {} in MaterializationUnit()
562 const SymbolFlagsMap &getSymbols() const { return SymbolFlags; } in getSymbols()
568 materialize(MaterializationResponsibility(JD, std::move(SymbolFlags), in doMaterialize()
575 SymbolFlags.erase(Name); in doDiscard()
580 SymbolFlagsMap SymbolFlags;
[all …]
DLayer.h47 SymbolFlagsMap SymbolFlags,
156 SymbolFlagsMap SymbolFlags);
/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/llvm/include/llvm/MC/
DMCSymbolCOFF.h20 enum SymbolFlags : uint16_t { enum
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCSymbolCOFF.h21 enum SymbolFlags : uint16_t { enum
/external/llvm-project/llvm/include/llvm/MC/
DMCSymbolCOFF.h21 enum SymbolFlags : uint16_t { enum
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DWasmYAML.h36 LLVM_YAML_STRONG_TYPEDEF(uint32_t, SymbolFlags)
158 SymbolFlags Flags;
458 template <> struct ScalarBitSetTraits<WasmYAML::SymbolFlags> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
459 static void bitset(IO &IO, WasmYAML::SymbolFlags &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DWasmYAML.h36 LLVM_YAML_STRONG_TYPEDEF(uint32_t, SymbolFlags)
155 SymbolFlags Flags;
454 template <> struct ScalarBitSetTraits<WasmYAML::SymbolFlags> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
455 static void bitset(IO &IO, WasmYAML::SymbolFlags &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DOrcTestCommon.h101 orc::SymbolFlagsMap SymbolFlags, MaterializeFunction Materialize,
105 : MaterializationUnit(std::move(SymbolFlags), std::move(InitSym)), in MaterializationUnit() argument

12