Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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;
DConstant.h43 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant()
DGlobalIndirectSymbol.h30 GlobalIndirectSymbol(Type *Ty, ValueTy VTy, unsigned AddressSpace,
DGlobalObject.h46 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
DValue.h49 template<typename ValueTy> class StringMapEntry;
465 enum ValueTy { enum
DConstants.h65 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, nullptr, 0) {} in ConstantData()
391 ConstantAggregate(CompositeType *T, ValueTy VT, ArrayRef<Constant *> V);
591 explicit ConstantDataSequential(Type *ty, ValueTy VT, const char *Data)
DGlobalValue.h76 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalValue()
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
DCoroSplit.cpp502 auto getSwiftErrorSlot = [&](Type *ValueTy) -> Value * { in replaceSwiftErrorOps() argument
504 assert(CachedSlot->getType()->getPointerElementType() == ValueTy && in replaceSwiftErrorOps()
513 assert(Arg.getType()->getPointerElementType() == ValueTy && in replaceSwiftErrorOps()
521 auto Alloca = Builder.CreateAlloca(ValueTy); in replaceSwiftErrorOps()
535 auto ValueTy = Op->getType(); in replaceSwiftErrorOps() local
536 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps()
537 MappedResult = Builder.CreateLoad(ValueTy, Slot); in replaceSwiftErrorOps()
541 auto ValueTy = Value->getType(); in replaceSwiftErrorOps() local
542 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h46 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant()
DGlobalObject.h32 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
DValue.h51 template<typename ValueTy> class StringMapEntry;
414 enum ValueTy { enum
DGlobalValue.h77 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp226 const LLT &ValueTy, uint64_t Value) { in materializePtrAdd() argument
228 assert(ValueTy.isScalar() && "invalid offset type"); in materializePtrAdd()
236 auto Cst = buildConstant(ValueTy, Value); in materializePtrAdd()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DGlobals.cpp427 GlobalIndirectSymbol::GlobalIndirectSymbol(Type *Ty, ValueTy VTy, in GlobalIndirectSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp2040 Type *ValueTy = SI->getValueOperand()->getType(); in isIntegerWideningViableForSlice() local
2044 if (DL.getTypeStoreSize(ValueTy) > Size) in isIntegerWideningViableForSlice()
2053 if (!isa<VectorType>(ValueTy) && RelBegin == 0 && RelEnd == Size) in isIntegerWideningViableForSlice()
2055 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice()
2059 !canConvertValue(DL, ValueTy, AllocaTy)) { in isIntegerWideningViableForSlice()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h439 const LLT &ValueTy,
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp4910 const auto ValueTy = ValueR->getType(); in lowerIntrinsic() local
4911 assert(isScalarIntegerType(ValueTy)); in lowerIntrinsic()
4917 _str(ValueR, formMemoryOperand(Addr, ValueTy)); in lowerIntrinsic()

12