Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringMap.h26 template <typename ValueTy> class StringMapConstIterator;
27 template <typename ValueTy> class StringMapIterator;
28 template <typename ValueTy> class StringMapKeyIterator;
125 template <typename ValueTy, typename AllocatorTy = MallocAllocator>
132 using MapEntryTy = StringMapEntry<ValueTy>;
146 StringMap(std::initializer_list<std::pair<StringRef, ValueTy>> List) in StringMap()
212 using mapped_type = ValueTy;
213 using value_type = StringMapEntry<ValueTy>;
216 using const_iterator = StringMapConstIterator<ValueTy>;
217 using iterator = StringMapIterator<ValueTy>;
[all …]
H A DStringMapEntry.h68 template <typename ValueTy>
71 ValueTy second;
81 const ValueTy &getValue() const { return second; } in getValue()
82 ValueTy &getValue() { return second; } in getValue()
84 void setValue(const ValueTy &V) { second = V; } in setValue()
101 template <typename ValueTy>
102 class StringMapEntry final : public StringMapEntryStorage<ValueTy> {
104 using StringMapEntryStorage<ValueTy>::StringMapEntryStorage;
106 using ValueType = ValueTy;
136 char *ptr = const_cast<char *>(keyData) - sizeof(StringMapEntry<ValueTy>); in GetStringMapEntryFromKeyData()
[all …]
H A DStringSet.h48 template <typename ValueTy>
50 insert(const StringMapEntry<ValueTy> &mapEntry) { in insert()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A 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)) {}
293 operator ValueTy*() const {
297 ValueTy *operator=(ValueTy *RHS) {
301 ValueTy *operator=(const AssertingVH<ValueTy> &RHS) {
306 ValueTy *operator->() const { return getValPtr(); }
[all …]
H A DComdat.h27 template <typename ValueTy> class StringMapEntry;
H A DConstant.h44 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant()
H A DGlobalObject.h43 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
H A DConstants.h61 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, nullptr, 0) {} in ConstantData()
402 ConstantAggregate(Type *T, ValueTy VT, ArrayRef<Constant *> V);
601 explicit ConstantDataSequential(Type *ty, ValueTy VT, const char *Data)
1393 explicit UndefValue(Type *T, ValueTy vty) : ConstantData(T, vty) {}
H A DValue.h50 template<typename ValueTy> class StringMapEntry;
513 enum ValueTy { enum
529 /// # there are more possible values for the value type than in ValueTy enum.
531 /// the ValueTy enum.
H A DGlobalValue.h80 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryDependenceAnalysis.h110 using ValueTy = PointerSumType< variable
115 ValueTy Value;
117 explicit MemDepResult(ValueTy V) : Value(V) {} in MemDepResult()
126 return MemDepResult(ValueTy::create<Def>(Inst)); in getDef()
130 return MemDepResult(ValueTy::create<Clobber>(Inst)); in getClobber()
133 return MemDepResult(ValueTy::create<Other>(NonLocal)); in getNonLocal()
136 return MemDepResult(ValueTy::create<Other>(NonFuncLocal)); in getNonFuncLocal()
139 return MemDepResult(ValueTy::create<Other>(Unknown)); in getUnknown()
199 return MemDepResult(ValueTy::create<Invalid>(Inst)); in getDirty()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp518 LLT ValueTy = MRI->getType(StoreMI.getValueReg()); in addStoreToCandidate() local
522 if (!ValueTy.isScalar()) in addStoreToCandidate()
526 if (StoreMI.getMemSizeInBits() != ValueTy.getSizeInBits()) in addStoreToCandidate()
549 BIO.getOffset() < static_cast<int64_t>(ValueTy.getSizeInBytes())) in addStoreToCandidate()
559 ValueTy.getSizeInBits()) in addStoreToCandidate()
575 static_cast<int64_t>(ValueTy.getSizeInBytes())) != BIO.getOffset()) in addStoreToCandidate()
580 C.CurrentLowestOffset = C.CurrentLowestOffset - ValueTy.getSizeInBytes(); in addStoreToCandidate()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp33 QualType ValueTy; member in __anon5e56f1450111::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()
110 ValueTy = lvalue.getType()->castAs<VectorType>()->getElementType(); in AtomicInfo()
111 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
118 ValueTy = lvalue.getType(); in AtomicInfo()
[all …]
H A DABIInfoImpl.cpp206 QualType ValueTy, bool IsIndirect, in emitVoidPtrVAArg() argument
222 llvm::Type *DirectTy = CGF.ConvertTypeForMem(ValueTy), *ElementTy = DirectTy; in emitVoidPtrVAArg()
236 return CGF.EmitLoadOfAnyValue(CGF.MakeAddrLValue(Addr, ValueTy), Slot); in emitVoidPtrVAArg()
H A DCGExprCXX.cpp1421 typedef typename Traits::ValueTy ValueTy; typedef in __anondca4c77a0411::CallDeleteDuringNew
1433 ValueTy Ptr;
1434 ValueTy AllocSize;
1447 const FunctionDecl *OperatorDelete, ValueTy Ptr, in CallDeleteDuringNew()
1448 ValueTy AllocSize, bool PassAlignmentToPlacementDelete, in CallDeleteDuringNew()
1523 typedef llvm::Value *ValueTy; in EnterNewDeleteCleanup() typedef
1525 static RValue get(CodeGenFunction &, ValueTy V) { return RValue::get(V); } in EnterNewDeleteCleanup()
1549 typedef DominatingValue<RValue>::saved_type ValueTy; in EnterNewDeleteCleanup() typedef
1551 static RValue get(CodeGenFunction &CGF, ValueTy V) { in EnterNewDeleteCleanup()
H A DABIInfoImpl.h116 QualType ValueTy, bool IsIndirect,
H A DTargetInfo.h340 typedef std::pair<llvm::Value *, StringRef> ValueTy; typedef
346 virtual llvm::SmallVector<ValueTy, 1>
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp91 Type *ValueTy = Value->getType(); in replaceWithConstant() local
92 if (ValueTy != IntrTy) { in replaceWithConstant()
95 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy()); in replaceWithConstant()
H A DCoroSplit.cpp661 auto getSwiftErrorSlot = [&](Type *ValueTy) -> Value * { in replaceSwiftErrorOps() argument
675 auto Alloca = Builder.CreateAlloca(ValueTy); in replaceSwiftErrorOps()
689 auto ValueTy = Op->getType(); in replaceSwiftErrorOps() local
690 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps()
691 MappedResult = Builder.CreateLoad(ValueTy, Slot); in replaceSwiftErrorOps()
695 auto ValueTy = Value->getType(); in replaceSwiftErrorOps() local
696 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps()
H A DCoroFrame.cpp2554 static Value *emitGetSwiftErrorValue(IRBuilder<> &Builder, Type *ValueTy, in emitGetSwiftErrorValue() argument
2557 auto FnTy = FunctionType::get(ValueTy, {}, false); in emitGetSwiftErrorValue()
2590 auto ValueTy = Alloca->getAllocatedType(); in emitSetAndGetSwiftErrorValueAround() local
2595 auto ValueBeforeCall = Builder.CreateLoad(ValueTy, Alloca); in emitSetAndGetSwiftErrorValueAround()
2609 auto ValueAfterCall = emitGetSwiftErrorValue(Builder, ValueTy, Shape); in emitSetAndGetSwiftErrorValueAround()
2649 auto ValueTy = PointerType::getUnqual(F.getContext()); in eliminateSwiftErrorArgument() local
2654 auto Alloca = Builder.CreateAlloca(ValueTy, ArgTy->getAddressSpace()); in eliminateSwiftErrorArgument()
2658 auto InitialValue = Constant::getNullValue(ValueTy); in eliminateSwiftErrorArgument()
2669 auto FinalValue = Builder.CreateLoad(ValueTy, Alloca); in eliminateSwiftErrorArgument()
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DHost.h21 template <typename ValueTy, typename AllocatorTy> class StringMap;
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan.cpp342 const ValueType ValueTy = getValueType(shadow_type[Offset]); in __nsan_dump_shadow_mem() local
344 if (ValueTy == LastValueTy && pos == LastPos + 1) { in __nsan_dump_shadow_mem()
347 LastValueTy = ValueTy; in __nsan_dump_shadow_mem()
351 switch (ValueTy) { in __nsan_dump_shadow_mem()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenTarget.cpp180 const ValueTypeByHwMode &ValueTy, CodeGenRegBank &RegBank, in getSuperRegForSubReg() argument
194 if (!llvm::is_contained(SubClassWithSubReg->VTs, ValueTy)) in getSuperRegForSubReg()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h88 template <typename LeafTy, typename ValueTy> class FixedOrScalableQuantity {
90 using ScalarTy = ValueTy;
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp88 Type *deduceElementTypeByValueDeep(Type *ValueTy, Value *Operand,
90 Type *deduceElementTypeByValueDeep(Type *ValueTy, Value *Operand,
323 SPIRVEmitIntrinsics::deduceElementTypeByValueDeep(Type *ValueTy, Value *Operand, in deduceElementTypeByValueDeep() argument
326 return deduceElementTypeByValueDeep(ValueTy, Operand, Visited, in deduceElementTypeByValueDeep()
331 Type *ValueTy, Value *Operand, std::unordered_set<Value *> &Visited, in deduceElementTypeByValueDeep() argument
333 Type *Ty = ValueTy; in deduceElementTypeByValueDeep()

12