Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringMap.h27 template <typename ValueTy> class StringMapConstIterator;
28 template <typename ValueTy> class StringMapIterator;
29 template <typename ValueTy> class StringMapKeyIterator;
126 template <typename ValueTy, typename AllocatorTy = MallocAllocator>
133 using MapEntryTy = StringMapEntry<ValueTy>;
147 StringMap(std::initializer_list<std::pair<StringRef, ValueTy>> List) in StringMap()
213 using mapped_type = ValueTy;
214 using value_type = StringMapEntry<ValueTy>;
217 using const_iterator = StringMapConstIterator<ValueTy>;
218 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;
134 char *ptr = const_cast<char *>(keyData) - sizeof(StringMapEntry<ValueTy>); in GetStringMapEntryFromKeyData()
[all …]
H A DStringSet.h53 template <typename ValueTy>
55 insert(const StringMapEntry<ValueTy> &mapEntry) { in insert()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueHandle.h260 template <typename ValueTy>
266 friend struct DenseMapInfo<AssertingVH<ValueTy>>;
280 ValueTy *getValPtr() const { return static_cast<ValueTy *>(getRawValPtr()); }
281 void setValPtr(ValueTy *P) { setRawValPtr(GetAsValue(P)); }
286 AssertingVH(ValueTy *P) : ValueHandleBase(Assert, GetAsValue(P)) {}
290 AssertingVH(ValueTy *P) : ThePtr(GetAsValue(P)) {}
294 operator ValueTy*() const {
298 ValueTy *operator=(ValueTy *RHS) {
302 ValueTy *operator=(const AssertingVH<ValueTy> &RHS) {
307 ValueTy *operator->() const { return getValPtr(); }
[all …]
H A DComdat.h28 template <typename ValueTy> class StringMapEntry;
H A DConstant.h45 Constant(Type *ty, ValueTy vty, AllocInfo AllocInfo) in Constant()
H A DGlobalObject.h44 GlobalObject(Type *Ty, ValueTy VTy, AllocInfo AllocInfo, LinkageTypes Linkage,
H A DConstants.h66 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, AllocMarker) {} in ConstantData()
410 LLVM_ABI ConstantAggregate(Type *T, ValueTy VT, ArrayRef<Constant *> V,
610 explicit ConstantDataSequential(Type *ty, ValueTy VT, const char *Data)
1426 explicit UndefValue(Type *T, ValueTy vty) : ConstantData(T, vty) {}
H A DValue.h51 template<typename ValueTy> class StringMapEntry;
524 enum ValueTy { enum
H A DGlobalValue.h81 GlobalValue(Type *Ty, ValueTy VTy, AllocInfo AllocInfo, LinkageTypes Linkage, in GlobalValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryDependenceAnalysis.h109 using ValueTy = PointerSumType< variable
114 ValueTy Value;
116 explicit MemDepResult(ValueTy V) : Value(V) {} in MemDepResult()
125 return MemDepResult(ValueTy::create<Def>(Inst)); in getDef()
129 return MemDepResult(ValueTy::create<Clobber>(Inst)); in getClobber()
132 return MemDepResult(ValueTy::create<Other>(NonLocal)); in getNonLocal()
135 return MemDepResult(ValueTy::create<Other>(NonFuncLocal)); in getNonFuncLocal()
138 return MemDepResult(ValueTy::create<Other>(Unknown)); in getUnknown()
198 return MemDepResult(ValueTy::create<Invalid>(Inst)); in getDirty()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAttrIterator.h120 using ValueTy = llvm::detail::ValueOfRange<Container>; in getSpecificAttr() local
121 using ValuePointeeTy = std::remove_pointer_t<ValueTy>; in getSpecificAttr()
130 using ValueTy = llvm::detail::ValueOfRange<Container>; in getSpecificAttrs() local
131 using ValuePointeeTy = std::remove_pointer_t<ValueTy>; in getSpecificAttrs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp513 LLT ValueTy = MRI->getType(StoreMI.getValueReg()); in addStoreToCandidate() local
517 if (!ValueTy.isScalar()) in addStoreToCandidate()
521 if (StoreMI.getMemSizeInBits() != ValueTy.getSizeInBits()) in addStoreToCandidate()
544 BIO.getOffset() < static_cast<int64_t>(ValueTy.getSizeInBytes())) in addStoreToCandidate()
554 ValueTy.getSizeInBits()) in addStoreToCandidate()
570 static_cast<int64_t>(ValueTy.getSizeInBytes())) != BIO.getOffset()) in addStoreToCandidate()
575 C.CurrentLowestOffset = C.CurrentLowestOffset - ValueTy.getSizeInBytes(); in addStoreToCandidate()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp32 QualType ValueTy; member in __anon5e56f1450111::AtomicInfo
50 ValueTy = ATy->getValueType(); in AtomicInfo()
52 ValueTy = AtomicTy; in AtomicInfo()
53 EvaluationKind = CGF.getEvaluationKind(ValueTy); in AtomicInfo()
57 TypeInfo ValueTI = C.getTypeInfo(ValueTy); in AtomicInfo()
75 ValueTy = lvalue.getType(); in AtomicInfo()
76 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
109 ValueTy = lvalue.getType()->castAs<VectorType>()->getElementType(); in AtomicInfo()
110 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
117 ValueTy = lvalue.getType(); in AtomicInfo()
[all …]
H A DABIInfoImpl.cpp200 QualType ValueTy, bool IsIndirect, in emitVoidPtrVAArg() argument
216 llvm::Type *DirectTy = CGF.ConvertTypeForMem(ValueTy), *ElementTy = DirectTy; in emitVoidPtrVAArg()
230 return CGF.EmitLoadOfAnyValue(CGF.MakeAddrLValue(Addr, ValueTy), Slot); in emitVoidPtrVAArg()
H A DCGExprCXX.cpp1438 typedef typename Traits::ValueTy ValueTy; typedef in __anondca4c77a0411::CallDeleteDuringNew
1451 ValueTy Ptr;
1452 ValueTy AllocSize;
1466 RValueTy TypeIdentity, ValueTy Ptr, ValueTy AllocSize, in CallDeleteDuringNew()
1552 typedef llvm::Value *ValueTy; in EnterNewDeleteCleanup() typedef
1554 static RValue get(CodeGenFunction &, ValueTy V) { return RValue::get(V); } in EnterNewDeleteCleanup()
1580 typedef DominatingValue<RValue>::saved_type ValueTy; in EnterNewDeleteCleanup() typedef
1582 static RValue get(CodeGenFunction &CGF, ValueTy V) { in EnterNewDeleteCleanup()
H A DABIInfoImpl.h99 QualType ValueTy, bool IsIndirect,
H A DTargetInfo.h367 typedef std::pair<llvm::Value *, StringRef> ValueTy; typedef
373 virtual llvm::SmallVector<ValueTy, 1>
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DHost.h22 template <typename ValueTy, typename AllocatorTy> class StringMap;
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan.cpp368 const ValueType ValueTy = getValueType(shadow_type[Offset]); in __nsan_dump_shadow_mem() local
370 if (ValueTy == LastValueTy && pos == LastPos + 1) { in __nsan_dump_shadow_mem()
373 LastValueTy = ValueTy; in __nsan_dump_shadow_mem()
377 switch (ValueTy) { in __nsan_dump_shadow_mem()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1596 static Value *emitGetSwiftErrorValue(IRBuilder<> &Builder, Type *ValueTy, in emitGetSwiftErrorValue() argument
1599 auto FnTy = FunctionType::get(ValueTy, {}, false); in emitGetSwiftErrorValue()
1632 auto ValueTy = Alloca->getAllocatedType(); in emitSetAndGetSwiftErrorValueAround() local
1637 auto ValueBeforeCall = Builder.CreateLoad(ValueTy, Alloca); in emitSetAndGetSwiftErrorValueAround()
1651 auto ValueAfterCall = emitGetSwiftErrorValue(Builder, ValueTy, Shape); in emitSetAndGetSwiftErrorValueAround()
1692 auto ValueTy = PointerType::getUnqual(F.getContext()); in eliminateSwiftErrorArgument() local
1697 auto Alloca = Builder.CreateAlloca(ValueTy, ArgTy->getAddressSpace()); in eliminateSwiftErrorArgument()
1701 auto InitialValue = Constant::getNullValue(ValueTy); in eliminateSwiftErrorArgument()
1712 auto FinalValue = Builder.CreateLoad(ValueTy, Alloca); in eliminateSwiftErrorArgument()
H A DCoroSplit.cpp570 auto getSwiftErrorSlot = [&](Type *ValueTy) -> Value * { in replaceSwiftErrorOps() argument
585 auto Alloca = Builder.CreateAlloca(ValueTy); in replaceSwiftErrorOps()
599 auto ValueTy = Op->getType(); in replaceSwiftErrorOps() local
600 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps()
601 MappedResult = Builder.CreateLoad(ValueTy, Slot); in replaceSwiftErrorOps()
605 auto ValueTy = Value->getType(); in replaceSwiftErrorOps() local
606 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h89 template <typename LeafTy, typename ValueTy> class FixedOrScalableQuantity {
91 using ScalarTy = ValueTy;
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h419 const RecTy *ValueTy; variable
423 : Init(K, Opc), ValueTy(T) {} in Init()
435 const RecTy *getType() const { return ValueTy; } in getType()
438 RecordKeeper &getRecordKeeper() const { return ValueTy->getRecordKeeper(); } in getRecordKeeper()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp110 Type *deduceElementTypeByValueDeep(Type *ValueTy, Value *Operand,
112 Type *deduceElementTypeByValueDeep(Type *ValueTy, Value *Operand,
480 SPIRVEmitIntrinsics::deduceElementTypeByValueDeep(Type *ValueTy, Value *Operand, in deduceElementTypeByValueDeep() argument
483 return deduceElementTypeByValueDeep(ValueTy, Operand, Visited, in deduceElementTypeByValueDeep()
488 Type *ValueTy, Value *Operand, std::unordered_set<Value *> &Visited, in deduceElementTypeByValueDeep() argument
490 Type *Ty = ValueTy; in deduceElementTypeByValueDeep()

12