Home
last modified time | relevance | path

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

12

/netbsd/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DStringMap.h112 using MapEntryTy = StringMapEntry<ValueTy>;
197 using mapped_type = ValueTy;
198 using value_type = StringMapEntry<ValueTy>;
202 using iterator = StringMapIterator<ValueTy>;
234 ValueTy lookup(StringRef Key) const { in lookup()
238 return ValueTy(); in lookup()
373 ValueTy> {
415 template <typename ValueTy>
433 template <typename ValueTy>
437 StringMapIterBase<StringMapIterator<ValueTy>, StringMapEntry<ValueTy>>;
[all …]
H A DStringMapEntry.h66 template <typename ValueTy>
69 ValueTy second;
79 const ValueTy &getValue() const { return second; } in getValue()
80 ValueTy &getValue() { return second; } in getValue()
82 void setValue(const ValueTy &V) { second = V; } in setValue()
97 template <typename ValueTy>
98 class StringMapEntry final : public StringMapEntryStorage<ValueTy> {
100 using StringMapEntryStorage<ValueTy>::StringMapEntryStorage;
130 char *ptr = const_cast<char *>(keyData) - sizeof(StringMapEntry<ValueTy>); in GetStringMapEntryFromKeyData()
H A DStringSet.h43 template <typename ValueTy>
45 insert(const StringMapEntry<ValueTy> &mapEntry) { in insert()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DValueHandle.h259 template <typename ValueTy>
279 ValueTy *getValPtr() const { return static_cast<ValueTy *>(getRawValPtr()); }
293 operator ValueTy*() const {
297 ValueTy *operator=(ValueTy *RHS) {
301 ValueTy *operator=(const AssertingVH<ValueTy> &RHS) {
335 ValueTy *getValPtr() const {
348 void setValPtr(ValueTy *P) {
363 operator ValueTy*() const {
367 ValueTy *operator=(ValueTy *RHS) {
444 template <typename ValueTy>
[all …]
H A DComdat.h25 template <typename ValueTy> class StringMapEntry;
H A DGlobalIndirectSymbol.h30 GlobalIndirectSymbol(Type *Ty, ValueTy VTy, unsigned AddressSpace,
H A DConstant.h43 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant()
H A DGlobalObject.h44 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
H A DConstants.h59 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, nullptr, 0) {} in ConstantData()
385 ConstantAggregate(Type *T, ValueTy VT, ArrayRef<Constant *> V);
585 explicit ConstantDataSequential(Type *ty, ValueTy VT, const char *Data)
1355 explicit UndefValue(Type *T, ValueTy vty) : ConstantData(T, vty) {}
H A DValue.h51 template<typename ValueTy> class StringMapEntry;
522 enum ValueTy { enum
H A DGlobalValue.h76 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalValue()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DMemoryDependenceAnalysis.h118 using ValueTy = PointerSumType< variable
123 ValueTy Value;
125 explicit MemDepResult(ValueTy V) : Value(V) {} in MemDepResult()
134 return MemDepResult(ValueTy::create<Def>(Inst)); in getDef()
138 return MemDepResult(ValueTy::create<Clobber>(Inst)); in getClobber()
141 return MemDepResult(ValueTy::create<Other>(NonLocal)); in getNonLocal()
144 return MemDepResult(ValueTy::create<Other>(NonFuncLocal)); in getNonFuncLocal()
147 return MemDepResult(ValueTy::create<Other>(Unknown)); in getUnknown()
204 return MemDepResult(ValueTy::create<Invalid>(Inst)); in getDirty()
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGAtomic.cpp33 QualType ValueTy; member in __anonce370d460111::AtomicInfo
51 ValueTy = ATy->getValueType(); in AtomicInfo()
53 ValueTy = AtomicTy; in AtomicInfo()
58 TypeInfo ValueTI = C.getTypeInfo(ValueTy); in AtomicInfo()
76 ValueTy = lvalue.getType(); in AtomicInfo()
77 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
112 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
119 ValueTy = lvalue.getType(); in AtomicInfo()
120 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
134 QualType getValueType() const { return ValueTy; } in getValueType()
[all …]
H A DTargetInfo.h300 typedef std::pair<llvm::Value *, StringRef> ValueTy; typedef
306 virtual llvm::SmallVector<ValueTy, 1>
H A DCGExprCXX.cpp1397 typedef typename Traits::ValueTy ValueTy; typedef in __anon4888639b0411::CallDeleteDuringNew
1408 ValueTy Ptr;
1409 ValueTy AllocSize;
1422 const FunctionDecl *OperatorDelete, ValueTy Ptr, in CallDeleteDuringNew()
1423 ValueTy AllocSize, bool PassAlignmentToPlacementDelete, in CallDeleteDuringNew()
1498 typedef llvm::Value *ValueTy; in EnterNewDeleteCleanup() typedef
1500 static RValue get(CodeGenFunction &, ValueTy V) { return RValue::get(V); } in EnterNewDeleteCleanup()
1529 typedef DominatingValue<RValue>::saved_type ValueTy; in EnterNewDeleteCleanup() typedef
1531 static RValue get(CodeGenFunction &CGF, ValueTy V) { in EnterNewDeleteCleanup()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp58 Type *ValueTy = Value->getType(); in replaceWithConstant() local
59 if (ValueTy != IntrTy) { in replaceWithConstant()
62 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy()); in replaceWithConstant()
H A DCoroSplit.cpp590 auto getSwiftErrorSlot = [&](Type *ValueTy) -> Value * { in replaceSwiftErrorOps() argument
592 assert(CachedSlot->getType()->getPointerElementType() == ValueTy && in replaceSwiftErrorOps()
601 assert(Arg.getType()->getPointerElementType() == ValueTy && in replaceSwiftErrorOps()
609 auto Alloca = Builder.CreateAlloca(ValueTy); in replaceSwiftErrorOps()
623 auto ValueTy = Op->getType(); in replaceSwiftErrorOps() local
624 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps()
625 MappedResult = Builder.CreateLoad(ValueTy, Slot); in replaceSwiftErrorOps()
629 auto ValueTy = Value->getType(); in replaceSwiftErrorOps() local
630 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps()
H A DCoroFrame.cpp2121 static Value *emitGetSwiftErrorValue(IRBuilder<> &Builder, Type *ValueTy, in emitGetSwiftErrorValue() argument
2124 auto FnTy = FunctionType::get(ValueTy, {}, false); in emitGetSwiftErrorValue()
2157 auto ValueTy = Alloca->getAllocatedType(); in emitSetAndGetSwiftErrorValueAround() local
2162 auto ValueBeforeCall = Builder.CreateLoad(ValueTy, Alloca); in emitSetAndGetSwiftErrorValueAround()
2176 auto ValueAfterCall = emitGetSwiftErrorValue(Builder, ValueTy, Shape); in emitSetAndGetSwiftErrorValueAround()
2221 auto ValueTy = ArgTy->getElementType(); in eliminateSwiftErrorArgument() local
2226 auto Alloca = Builder.CreateAlloca(ValueTy, ArgTy->getAddressSpace()); in eliminateSwiftErrorArgument()
2230 auto InitialValue = Constant::getNullValue(ValueTy); in eliminateSwiftErrorArgument()
2241 auto FinalValue = Builder.CreateLoad(ValueTy, Alloca); in eliminateSwiftErrorArgument()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DHost.h21 template <typename ValueTy, typename AllocatorTy> class StringMap;
/netbsd/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenTarget.cpp342 CodeGenTarget::getSuperRegForSubReg(const ValueTypeByHwMode &ValueTy, in getSuperRegForSubReg() argument
358 if (!llvm::is_contained(SubClassWithSubReg->VTs, ValueTy)) in getSuperRegForSubReg()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp194 const LLT ValueTy, uint64_t Value) { in materializePtrAdd() argument
196 assert(ValueTy.isScalar() && "invalid offset type"); in materializePtrAdd()
204 auto Cst = buildConstant(ValueTy, Value); in materializePtrAdd()
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DGlobals.cpp427 GlobalIndirectSymbol::GlobalIndirectSymbol(Type *Ty, ValueTy VTy, in GlobalIndirectSymbol()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DRecord.h408 RecTy *ValueTy; variable
412 : Init(K, Opc), ValueTy(T) {} in Init()
424 RecTy *getType() const { return ValueTy; } in getType()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2051 Type *ValueTy = SI->getValueOperand()->getType(); in isIntegerWideningViableForSlice() local
2055 if (DL.getTypeStoreSize(ValueTy).getFixedSize() > Size) in isIntegerWideningViableForSlice()
2064 if (!isa<VectorType>(ValueTy) && RelBegin == 0 && RelEnd == Size) in isIntegerWideningViableForSlice()
2066 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice()
2070 !canConvertValue(DL, ValueTy, AllocaTy)) { in isIntegerWideningViableForSlice()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DMachineIRBuilder.h483 const LLT ValueTy,

12