/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringMap.h | 26 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 D | StringMapEntry.h | 68 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 D | StringSet.h | 48 template <typename ValueTy> 50 insert(const StringMapEntry<ValueTy> &mapEntry) { in insert()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ValueHandle.h | 259 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 D | Comdat.h | 27 template <typename ValueTy> class StringMapEntry;
|
H A D | Constant.h | 44 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant()
|
H A D | GlobalObject.h | 43 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
|
H A D | Constants.h | 61 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 D | Value.h | 50 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 D | GlobalValue.h | 80 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalValue()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | MemoryDependenceAnalysis.h | 110 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 D | LoadStoreOpt.cpp | 518 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 D | CGAtomic.cpp | 33 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 D | ABIInfoImpl.cpp | 206 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 D | CGExprCXX.cpp | 1421 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 D | ABIInfoImpl.h | 116 QualType ValueTy, bool IsIndirect,
|
H A D | TargetInfo.h | 340 typedef std::pair<llvm::Value *, StringRef> ValueTy; typedef 346 virtual llvm::SmallVector<ValueTy, 1>
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroElide.cpp | 91 Type *ValueTy = Value->getType(); in replaceWithConstant() local 92 if (ValueTy != IntrTy) { in replaceWithConstant() 95 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy()); in replaceWithConstant()
|
H A D | CoroSplit.cpp | 661 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 D | CoroFrame.cpp | 2554 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 D | Host.h | 21 template <typename ValueTy, typename AllocatorTy> class StringMap;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
H A D | nsan.cpp | 342 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 D | CodeGenTarget.cpp | 180 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 D | TypeSize.h | 88 template <typename LeafTy, typename ValueTy> class FixedOrScalableQuantity { 90 using ScalarTy = ValueTy;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVEmitIntrinsics.cpp | 88 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()
|