Home
last modified time | relevance | path

Searched refs:ValueTy (Results 1 – 25 of 71) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringMap.h33 template<typename ValueTy> class StringMapConstIterator;
34 template<typename ValueTy> class StringMapIterator;
35 template<typename ValueTy> class StringMapKeyIterator;
126 template<typename ValueTy>
129 ValueTy second;
138 const ValueTy &getValue() const { return second; } in getValue()
139 ValueTy &getValue() { return second; } in getValue()
141 void setValue(const ValueTy &V) { second = V; } in setValue()
157 template<typename ValueTy>
158 class StringMapEntry final : public StringMapEntryStorage<ValueTy> {
[all …]
DStringSet.h49 template <typename ValueTy>
51 insert(const StringMapEntry<ValueTy> &MapEntry) { in insert()
/external/llvm-project/llvm/include/llvm/ADT/
DStringMap.h24 template <typename ValueTy> class StringMapConstIterator;
25 template <typename ValueTy> class StringMapIterator;
26 template <typename ValueTy> class StringMapKeyIterator;
107 template <typename ValueTy, typename AllocatorTy = MallocAllocator>
112 using MapEntryTy = StringMapEntry<ValueTy>;
127 StringMap(std::initializer_list<std::pair<StringRef, ValueTy>> List) in StringMap()
197 using mapped_type = ValueTy;
198 using value_type = StringMapEntry<ValueTy>;
201 using const_iterator = StringMapConstIterator<ValueTy>;
202 using iterator = StringMapIterator<ValueTy>;
[all …]
DStringMapEntry.h37 template <typename ValueTy>
40 ValueTy second;
50 const ValueTy &getValue() const { return second; } in getValue()
51 ValueTy &getValue() { return second; } in getValue()
53 void setValue(const ValueTy &V) { second = V; } in setValue()
68 template <typename ValueTy>
69 class StringMapEntry final : public StringMapEntryStorage<ValueTy> {
71 using StringMapEntryStorage<ValueTy>::StringMapEntryStorage;
118 char *ptr = const_cast<char *>(keyData) - sizeof(StringMapEntry<ValueTy>); in GetStringMapEntryFromKeyData()
DStringSet.h43 template <typename ValueTy>
45 insert(const StringMapEntry<ValueTy> &mapEntry) { in insert()
/external/llvm-project/llvm/include/llvm/IR/
DValueHandle.h259 template <typename ValueTy>
265 friend struct DenseMapInfo<AssertingVH<ValueTy>>;
279 ValueTy *getValPtr() const { return static_cast<ValueTy *>(getRawValPtr()); }
280 void setValPtr(ValueTy *P) { setRawValPtr(GetAsValue(P)); }
285 AssertingVH(ValueTy *P) : ValueHandleBase(Assert, GetAsValue(P)) {}
289 AssertingVH(ValueTy *P) : ThePtr(GetAsValue(P)) {}
290 AssertingVH(const AssertingVH<ValueTy> &) = default;
293 operator ValueTy*() const {
297 ValueTy *operator=(ValueTy *RHS) {
301 ValueTy *operator=(const AssertingVH<ValueTy> &RHS) {
[all …]
DComdat.h25 template <typename ValueTy> class StringMapEntry;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValueHandle.h255 template <typename ValueTy>
261 friend struct DenseMapInfo<AssertingVH<ValueTy>>;
275 ValueTy *getValPtr() const { return static_cast<ValueTy *>(getRawValPtr()); }
276 void setValPtr(ValueTy *P) { setRawValPtr(GetAsValue(P)); }
281 AssertingVH(ValueTy *P) : ValueHandleBase(Assert, GetAsValue(P)) {}
285 AssertingVH(ValueTy *P) : ThePtr(GetAsValue(P)) {}
286 AssertingVH(const AssertingVH<ValueTy> &) = default;
289 operator ValueTy*() const {
293 ValueTy *operator=(ValueTy *RHS) {
297 ValueTy *operator=(const AssertingVH<ValueTy> &RHS) {
[all …]
DStatepoint.h72 template <typename FunTy, typename InstructionTy, typename ValueTy,
133 ValueTy *getCalledValue() const { in getCalledValue()
180 ValueTy *getArgument(unsigned Index) { in getArgument()
404 template <typename FunTy, typename InstructionTy, typename ValueTy,
407 StatepointBase<FunTy, InstructionTy, ValueTy, CallBaseTy>::getRelocates() in getRelocates()
DComdat.h25 template <typename ValueTy> class StringMapEntry;
/external/llvm/include/llvm/IR/
DValueHandle.h192 template <typename ValueTy>
198 friend struct DenseMapInfo<AssertingVH<ValueTy> >;
212 ValueTy *getValPtr() const { return static_cast<ValueTy *>(getRawValPtr()); }
213 void setValPtr(ValueTy *P) { setRawValPtr(GetAsValue(P)); }
218 AssertingVH(ValueTy *P) : ValueHandleBase(Assert, GetAsValue(P)) {}
222 AssertingVH(ValueTy *P) : ThePtr(GetAsValue(P)) {}
225 operator ValueTy*() const {
229 ValueTy *operator=(ValueTy *RHS) {
233 ValueTy *operator=(const AssertingVH<ValueTy> &RHS) {
238 ValueTy *operator->() const { return getValPtr(); }
[all …]
DStatepoint.h58 template <typename FunTy, typename InstructionTy, typename ValueTy,
121 ValueTy *getCalledValue() const { in getCalledValue()
169 ValueTy *getArgument(unsigned Index) { in getArgument()
396 template <typename FunTy, typename InstructionTy, typename ValueTy,
399 StatepointBase<FunTy, InstructionTy, ValueTy, CallSiteTy>::getRelocates() in getRelocates()
DComdat.h23 template <typename ValueTy> class StringMapEntry;
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringMap.h35 template<typename ValueTy>
127 template<typename ValueTy>
130 ValueTy second;
143 const ValueTy &getValue() const { return second; } in getValue()
144 ValueTy &getValue() { return second; } in getValue()
146 void setValue(const ValueTy &V) { second = V; } in setValue()
190 return Create(Key, ValueTy()); in Create()
196 char *Ptr = const_cast<char*>(KeyData) - sizeof(StringMapEntry<ValueTy>); in GetStringMapEntryFromKeyData()
222 template<typename ValueTy, typename AllocatorTy = MallocAllocator>
227 typedef StringMapEntry<ValueTy> MapEntryTy;
[all …]
/external/llvm/include/llvm/ADT/
DStringMap.h28 template<typename ValueTy>
120 template<typename ValueTy>
125 ValueTy second;
137 const ValueTy &getValue() const { return second; } in getValue()
138 ValueTy &getValue() { return second; } in getValue()
140 void setValue(const ValueTy &V) { second = V; } in setValue()
184 return Create(Key, ValueTy()); in Create()
190 char *Ptr = const_cast<char*>(KeyData) - sizeof(StringMapEntry<ValueTy>); in GetStringMapEntryFromKeyData()
216 template<typename ValueTy, typename AllocatorTy = MallocAllocator>
221 typedef StringMapEntry<ValueTy> MapEntryTy;
[all …]
/external/llvm/include/llvm/Analysis/
DMemoryDependenceAnalysis.h113 ValueTy; typedef
114 ValueTy Value;
115 explicit MemDepResult(ValueTy V) : Value(V) {} in MemDepResult()
124 return MemDepResult(ValueTy::create<Def>(Inst)); in getDef()
128 return MemDepResult(ValueTy::create<Clobber>(Inst)); in getClobber()
131 return MemDepResult(ValueTy::create<Other>(NonLocal)); in getNonLocal()
134 return MemDepResult(ValueTy::create<Other>(NonFuncLocal)); in getNonFuncLocal()
137 return MemDepResult(ValueTy::create<Other>(Unknown)); in getUnknown()
194 return MemDepResult(ValueTy::create<Invalid>(Inst)); in getDirty()
/external/llvm-project/llvm/include/llvm/Analysis/
DMemoryDependenceAnalysis.h117 using ValueTy = PointerSumType< variable
122 ValueTy Value;
124 explicit MemDepResult(ValueTy V) : Value(V) {} in MemDepResult()
133 return MemDepResult(ValueTy::create<Def>(Inst)); in getDef()
137 return MemDepResult(ValueTy::create<Clobber>(Inst)); in getClobber()
140 return MemDepResult(ValueTy::create<Other>(NonLocal)); in getNonLocal()
143 return MemDepResult(ValueTy::create<Other>(NonFuncLocal)); in getNonFuncLocal()
146 return MemDepResult(ValueTy::create<Other>(Unknown)); in getUnknown()
203 return MemDepResult(ValueTy::create<Invalid>(Inst)); in getDirty()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemoryDependenceAnalysis.h117 using ValueTy = PointerSumType< variable
122 ValueTy Value;
124 explicit MemDepResult(ValueTy V) : Value(V) {} in MemDepResult()
133 return MemDepResult(ValueTy::create<Def>(Inst)); in getDef()
137 return MemDepResult(ValueTy::create<Clobber>(Inst)); in getClobber()
140 return MemDepResult(ValueTy::create<Other>(NonLocal)); in getNonLocal()
143 return MemDepResult(ValueTy::create<Other>(NonFuncLocal)); in getNonFuncLocal()
146 return MemDepResult(ValueTy::create<Other>(Unknown)); in getUnknown()
203 return MemDepResult(ValueTy::create<Invalid>(Inst)); in getDirty()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroElide.cpp55 Type *ValueTy = Value->getType(); in replaceWithConstant() local
56 if (ValueTy != IntrTy) { in replaceWithConstant()
59 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy()); in replaceWithConstant()
DCoroFrame.cpp1163 static Value *emitGetSwiftErrorValue(IRBuilder<> &Builder, Type *ValueTy, in emitGetSwiftErrorValue() argument
1166 auto FnTy = FunctionType::get(ValueTy, {}, false); in emitGetSwiftErrorValue()
1199 auto ValueTy = Alloca->getAllocatedType(); in emitSetAndGetSwiftErrorValueAround() local
1204 auto ValueBeforeCall = Builder.CreateLoad(ValueTy, Alloca); in emitSetAndGetSwiftErrorValueAround()
1218 auto ValueAfterCall = emitGetSwiftErrorValue(Builder, ValueTy, Shape); in emitSetAndGetSwiftErrorValueAround()
1263 auto ValueTy = ArgTy->getElementType(); in eliminateSwiftErrorArgument() local
1268 auto Alloca = Builder.CreateAlloca(ValueTy, ArgTy->getAddressSpace()); in eliminateSwiftErrorArgument()
1272 auto InitialValue = Constant::getNullValue(ValueTy); in eliminateSwiftErrorArgument()
1283 auto FinalValue = Builder.CreateLoad(ValueTy, Alloca); in eliminateSwiftErrorArgument()
/external/clang/lib/CodeGen/
DCGAtomic.cpp32 QualType ValueTy; member in __anona93f836e0111::AtomicInfo
51 ValueTy = ATy->getValueType(); in AtomicInfo()
53 ValueTy = AtomicTy; in AtomicInfo()
54 EvaluationKind = CGF.getEvaluationKind(ValueTy); in AtomicInfo()
58 TypeInfo ValueTI = C.getTypeInfo(ValueTy); in AtomicInfo()
76 ValueTy = lvalue.getType(); in AtomicInfo()
77 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
111 ValueTy = lvalue.getType()->getAs<VectorType>()->getElementType(); in AtomicInfo()
112 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
119 ValueTy = lvalue.getType(); in AtomicInfo()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DHost.h21 template <typename ValueTy, typename AllocatorTy> class StringMap;
/external/llvm-project/clang/lib/CodeGen/
DCGAtomic.cpp33 QualType ValueTy; member in __anon0956349c0111::AtomicInfo
51 ValueTy = ATy->getValueType(); in AtomicInfo()
53 ValueTy = AtomicTy; in AtomicInfo()
54 EvaluationKind = CGF.getEvaluationKind(ValueTy); in AtomicInfo()
58 TypeInfo ValueTI = C.getTypeInfo(ValueTy); in AtomicInfo()
76 ValueTy = lvalue.getType(); in AtomicInfo()
77 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
111 ValueTy = lvalue.getType()->castAs<VectorType>()->getElementType(); in AtomicInfo()
112 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
119 ValueTy = lvalue.getType(); in AtomicInfo()
[all …]
DTargetInfo.h289 typedef std::pair<llvm::Value *, StringRef> ValueTy; typedef
295 virtual llvm::SmallVector<ValueTy, 1>
/external/tensorflow/tensorflow/compiler/jit/
Dnode_matchers.h192 template <typename ValueTy>
193 impl::NodeMatcherProperties Attr(const string& name, ValueTy value) { in Attr()

123