Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringMap.h116 using MapEntryTy = StringMapEntry<ValueTy>;
197 using mapped_type = ValueTy;
198 using value_type = StringMapEntry<ValueTy>;
234 ValueTy lookup(StringRef Key) const { in lookup()
238 return ValueTy(); in lookup()
243 const ValueTy &at(StringRef Val) const { in at()
400 ValueTy> {
442 template <typename ValueTy>
460 template <typename ValueTy>
464 StringMapIterBase<StringMapIterator<ValueTy>, StringMapEntry<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>
106 using ValueType = ValueTy;
152 template <std::size_t Index, typename ValueTy>
164 template <typename ValueTy>
165 struct tuple_size<llvm::StringMapEntry<ValueTy>>
[all …]
H A DStringSet.h44 template <typename ValueTy>
46 insert(const StringMapEntry<ValueTy> &mapEntry) { in insert()
/freebsd-14.2/contrib/llvm-project/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.h27 template <typename ValueTy> class StringMapEntry;
H A DConstant.h43 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.h59 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, nullptr, 0) {} in ConstantData()
386 ConstantAggregate(Type *T, ValueTy VT, ArrayRef<Constant *> V);
585 explicit ConstantDataSequential(Type *ty, ValueTy VT, const char *Data)
1344 explicit UndefValue(Type *T, ValueTy vty) : ConstantData(T, vty) {}
H A DValue.h50 template<typename ValueTy> class StringMapEntry;
513 enum ValueTy { enum
H A DGlobalValue.h80 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalValue()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp504 LLT ValueTy = MRI->getType(StoreMI.getValueReg()); in addStoreToCandidate() local
508 if (!ValueTy.isScalar()) in addStoreToCandidate()
512 if (StoreMI.getMemSizeInBits() != ValueTy.getSizeInBits()) in addStoreToCandidate()
535 BIO.getOffset() < static_cast<int64_t>(ValueTy.getSizeInBytes())) in addStoreToCandidate()
545 ValueTy.getSizeInBits()) in addStoreToCandidate()
561 static_cast<int64_t>(ValueTy.getSizeInBytes())) != BIO.getOffset()) in addStoreToCandidate()
566 C.CurrentLowestOffset = C.CurrentLowestOffset - ValueTy.getSizeInBytes(); in addStoreToCandidate()
H A DMachineIRBuilder.cpp211 const LLT ValueTy, uint64_t Value) { in materializePtrAdd() argument
213 assert(ValueTy.isScalar() && "invalid offset type"); in materializePtrAdd()
221 auto Cst = buildConstant(ValueTy, Value); in materializePtrAdd()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DHost.h21 template <typename ValueTy, typename AllocatorTy> class StringMap;
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp33 QualType ValueTy; member in __anone1dfd2bb0111::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()
111 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
118 ValueTy = lvalue.getType(); in AtomicInfo()
119 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
133 QualType getValueType() const { return ValueTy; } in getValueType()
[all …]
H A DABIInfoImpl.h116 QualType ValueTy, bool IsIndirect,
H A DCGExprCXX.cpp1417 typedef typename Traits::ValueTy ValueTy; typedef in __anond149d7b00411::CallDeleteDuringNew
1428 ValueTy Ptr;
1429 ValueTy AllocSize;
1442 const FunctionDecl *OperatorDelete, ValueTy Ptr, in CallDeleteDuringNew()
1443 ValueTy AllocSize, bool PassAlignmentToPlacementDelete, in CallDeleteDuringNew()
1518 typedef llvm::Value *ValueTy; in EnterNewDeleteCleanup() typedef
1520 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 DTargetInfo.h328 typedef std::pair<llvm::Value *, StringRef> ValueTy; typedef
334 virtual llvm::SmallVector<ValueTy, 1>
H A DABIInfoImpl.cpp203 QualType ValueTy, bool IsIndirect, in emitVoidPtrVAArg() argument
219 llvm::Type *DirectTy = CGF.ConvertTypeForMem(ValueTy), *ElementTy = DirectTy; in emitVoidPtrVAArg()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp68 Type *ValueTy = Value->getType(); in replaceWithConstant() local
69 if (ValueTy != IntrTy) { in replaceWithConstant()
72 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy()); in replaceWithConstant()
H A DCoroSplit.cpp677 auto getSwiftErrorSlot = [&](Type *ValueTy) -> Value * { in replaceSwiftErrorOps() argument
691 auto Alloca = Builder.CreateAlloca(ValueTy); in replaceSwiftErrorOps()
705 auto ValueTy = Op->getType(); in replaceSwiftErrorOps() local
706 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps()
707 MappedResult = Builder.CreateLoad(ValueTy, Slot); in replaceSwiftErrorOps()
711 auto ValueTy = Value->getType(); in replaceSwiftErrorOps() local
712 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps()
H A DCoroFrame.cpp2524 static Value *emitGetSwiftErrorValue(IRBuilder<> &Builder, Type *ValueTy, in emitGetSwiftErrorValue() argument
2527 auto FnTy = FunctionType::get(ValueTy, {}, false); in emitGetSwiftErrorValue()
2560 auto ValueTy = Alloca->getAllocatedType(); in emitSetAndGetSwiftErrorValueAround() local
2565 auto ValueBeforeCall = Builder.CreateLoad(ValueTy, Alloca); in emitSetAndGetSwiftErrorValueAround()
2579 auto ValueAfterCall = emitGetSwiftErrorValue(Builder, ValueTy, Shape); in emitSetAndGetSwiftErrorValueAround()
2619 auto ValueTy = PointerType::getUnqual(F.getContext()); in eliminateSwiftErrorArgument() local
2624 auto Alloca = Builder.CreateAlloca(ValueTy, ArgTy->getAddressSpace()); in eliminateSwiftErrorArgument()
2628 auto InitialValue = Constant::getNullValue(ValueTy); in eliminateSwiftErrorArgument()
2639 auto FinalValue = Builder.CreateLoad(ValueTy, Alloca); in eliminateSwiftErrorArgument()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h88 template <typename LeafTy, typename ValueTy> class FixedOrScalableQuantity {
90 using ScalarTy = ValueTy;
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenTarget.cpp379 const ValueTypeByHwMode &ValueTy, CodeGenRegBank &RegBank, in getSuperRegForSubReg() argument
393 if (!llvm::is_contained(SubClassWithSubReg->VTs, ValueTy)) in getSuperRegForSubReg()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h414 RecTy *ValueTy; variable
418 : Init(K, Opc), ValueTy(T) {} in Init()
430 RecTy *getType() const { return ValueTy; } in getType()
433 RecordKeeper &getRecordKeeper() const { return ValueTy->getRecordKeeper(); } in getRecordKeeper()

12