Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringMap.h26 template<typename ValueTy>
32 template<typename ValueTy>
36 static void Initialize(StringMapEntry<ValueTy> &T, InitTy InitVal) { in Initialize()
119 template<typename ValueTy>
122 ValueTy second;
126 StringMapEntry(unsigned strLen, const ValueTy &V) in StringMapEntry()
133 const ValueTy &getValue() const { return second; } in getValue()
134 ValueTy &getValue() { return second; } in getValue()
136 void setValue(const ValueTy &V) { second = V; } in setValue()
173 StringMapEntryInitializer<ValueTy>::Initialize(*NewItem, InitVal); in Create()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DValueHandle.h177 template <typename ValueTy>
185 ValueTy *getValPtr() const {
186 return static_cast<ValueTy*>(ValueHandleBase::getValPtr());
188 void setValPtr(ValueTy *P) {
192 ValueTy *ThePtr;
193 ValueTy *getValPtr() const { return ThePtr; }
194 void setValPtr(ValueTy *P) { ThePtr = P; }
205 AssertingVH(ValueTy *P) : ValueHandleBase(Assert, GetAsValue(P)) {}
209 AssertingVH(ValueTy *P) : ThePtr(P) {}
212 operator ValueTy*() const {
[all …]
/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;
DConstant.h47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant()
DGlobalIndirectSymbol.h29 GlobalIndirectSymbol(Type *Ty, ValueTy VTy, unsigned AddressSpace,
DGlobalObject.h31 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
DValue.h51 template<typename ValueTy> class StringMapEntry;
405 enum ValueTy { enum
DConstants.h60 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, nullptr, 0) {} in ConstantData()
370 ConstantAggregate(CompositeType *T, ValueTy VT, ArrayRef<Constant *> V);
559 explicit ConstantDataSequential(Type *ty, ValueTy VT, const char *Data)
DGlobalValue.h69 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalValue()
/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/swiftshader/third_party/LLVM/include/llvm/
DValue.h34 template<typename ValueTy> class StringMapEntry;
35 template <typename ValueTy = Value>
198 enum ValueTy { enum
DConstant.h46 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant()
DGlobalValue.h60 GlobalValue(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps, in GlobalValue()
/external/clang/lib/CodeGen/
DCGAtomic.cpp32 QualType ValueTy; member in __anond5645c670111::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/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DPseudoSourceValue.h35 explicit PseudoSourceValue(enum ValueTy Subclass = PseudoSourceValueVal);
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVUtil.h85 typedef Ty2 ValueTy; typedef
331 MapTy::foreach([&](typename MapTy::KeyTy K, typename MapTy::ValueTy V){ in mapBitMask()
340 MapTy::foreach([&](typename MapTy::KeyTy K, typename MapTy::ValueTy V){ in rmapBitMask()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPseudoSourceValue.cpp65 PseudoSourceValue::PseudoSourceValue(enum ValueTy Subclass) : in PseudoSourceValue()
/external/spirv-llvm/lib/SPIRV/
DSPIRVToOCL20.cpp354 Type* ValueTy = cast<PointerType>(Args[Ptr]->getType())->getElementType(); in visitCallSPIRVAtomicBuiltin() local
355 assert(ValueTy->isIntegerTy()); in visitCallSPIRVAtomicBuiltin()
356 Args.push_back(llvm::ConstantInt::get(ValueTy, 1)); in visitCallSPIRVAtomicBuiltin()
/external/llvm/lib/IR/
DGlobals.cpp312 GlobalIndirectSymbol::GlobalIndirectSymbol(Type *Ty, ValueTy VTy, in GlobalIndirectSymbol()
DConstants.cpp871 ConstantAggregate::ConstantAggregate(CompositeType *T, ValueTy VT, in ConstantAggregate()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJITEmitter.cpp76 template<typename ValueTy>
77 struct NoRAUWValueMapConfig : public ValueMapConfig<ValueTy> {
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1928 Type *ValueTy = SI->getValueOperand()->getType(); in isIntegerWideningViableForSlice() local
1932 if (DL.getTypeStoreSize(ValueTy) > Size) in isIntegerWideningViableForSlice()
1937 if (!isa<VectorType>(ValueTy) && RelBegin == 0 && RelEnd == Size) in isIntegerWideningViableForSlice()
1939 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice()
1943 !canConvertValue(DL, ValueTy, AllocaTy)) { in isIntegerWideningViableForSlice()

12