| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | StringMap.h | 115 using MapEntryTy = StringMapEntry<ValueTy>; 196 using mapped_type = ValueTy; 197 using value_type = StringMapEntry<ValueTy>; 201 using iterator = StringMapIterator<ValueTy>; 233 ValueTy lookup(StringRef Key) const { in lookup() 237 return ValueTy(); in lookup() 388 ValueTy> { 430 template <typename ValueTy> 448 template <typename ValueTy> 452 StringMapIterBase<StringMapIterator<ValueTy>, StringMapEntry<ValueTy>>; [all …]
|
| H A D | StringMapEntry.h | 69 template <typename ValueTy> 72 ValueTy second; 82 const ValueTy &getValue() const { return second; } in getValue() 83 ValueTy &getValue() { return second; } in getValue() 85 void setValue(const ValueTy &V) { second = V; } in setValue() 100 template <typename ValueTy> 101 class StringMapEntry final : public StringMapEntryStorage<ValueTy> { 103 using StringMapEntryStorage<ValueTy>::StringMapEntryStorage; 133 char *ptr = const_cast<char *>(keyData) - sizeof(StringMapEntry<ValueTy>); in GetStringMapEntryFromKeyData()
|
| H A D | StringSet.h | 44 template <typename ValueTy> 46 insert(const StringMapEntry<ValueTy> &mapEntry) { in insert()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | ValueHandle.h | 259 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 D | Comdat.h | 27 template <typename ValueTy> class StringMapEntry;
|
| H A D | Constant.h | 43 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 | 59 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, nullptr, 0) {} in ConstantData() 388 ConstantAggregate(Type *T, ValueTy VT, ArrayRef<Constant *> V); 587 explicit ConstantDataSequential(Type *ty, ValueTy VT, const char *Data) 1372 explicit UndefValue(Type *T, ValueTy vty) : ConstantData(T, vty) {}
|
| H A D | Value.h | 50 template<typename ValueTy> class StringMapEntry; 513 enum ValueTy { enum
|
| H A D | GlobalValue.h | 76 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalValue()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | VectorBuilderTest.cpp | 67 auto *ValueTy = IsFP ? FloatVecTy : IntVecTy; \ in TEST_F() 68 Value *Op = UndefValue::get(ValueTy); \ in TEST_F() 69 auto *I = VBuild.createVectorInstruction(Instruction::OPCODE, ValueTy, \ in TEST_F() 117 Type *ValueTy = IsFP ? FloatVecTy : IntVecTy; \ in TEST_F() 118 Value *Op = UndefValue::get(ValueTy); \ in TEST_F() 119 auto *I = VBuild.createVectorInstruction(Instruction::OPCODE, ValueTy, \ in TEST_F() 163 Type *ValueTy = IsFP ? FloatVecTy : IntVecTy; \ in TEST_F() 164 Value *Op = UndefValue::get(ValueTy); \ in TEST_F() 165 auto *I = VBuild.createVectorInstruction(Instruction::OPCODE, ValueTy, \ in TEST_F() 198 Type *ValueTy = IsFP ? FloatVecTy : IntVecTy; \ in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | MemoryDependenceAnalysis.h | 106 using ValueTy = PointerSumType< variable 111 ValueTy Value; 113 explicit MemDepResult(ValueTy V) : Value(V) {} in MemDepResult() 122 return MemDepResult(ValueTy::create<Def>(Inst)); in getDef() 126 return MemDepResult(ValueTy::create<Clobber>(Inst)); in getClobber() 129 return MemDepResult(ValueTy::create<Other>(NonLocal)); in getNonLocal() 132 return MemDepResult(ValueTy::create<Other>(NonFuncLocal)); in getNonFuncLocal() 135 return MemDepResult(ValueTy::create<Other>(Unknown)); in getUnknown() 192 return MemDepResult(ValueTy::create<Invalid>(Inst)); in getDirty()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LoadStoreOpt.cpp | 501 LLT ValueTy = MRI->getType(StoreMI.getValueReg()); in addStoreToCandidate() local 505 if (!ValueTy.isScalar()) in addStoreToCandidate() 509 if (StoreMI.getMemSizeInBits() != ValueTy.getSizeInBits()) in addStoreToCandidate() 526 if (StoreOffCst < ValueTy.getSizeInBytes()) in addStoreToCandidate() 538 ValueTy.getSizeInBits()) in addStoreToCandidate() 549 if ((C.CurrentLowestOffset - ValueTy.getSizeInBytes()) != in addStoreToCandidate() 555 C.CurrentLowestOffset = C.CurrentLowestOffset - ValueTy.getSizeInBytes(); in addStoreToCandidate()
|
| H A D | MachineIRBuilder.cpp | 192 const LLT ValueTy, uint64_t Value) { in materializePtrAdd() argument 194 assert(ValueTy.isScalar() && "invalid offset type"); in materializePtrAdd() 202 auto Cst = buildConstant(ValueTy, Value); in materializePtrAdd()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroElide.cpp | 65 Type *ValueTy = Value->getType(); in replaceWithConstant() local 66 if (ValueTy != IntrTy) { in replaceWithConstant() 69 assert(ValueTy->isPointerTy() && IntrTy->isPointerTy()); in replaceWithConstant()
|
| H A D | CoroSplit.cpp | 618 auto getSwiftErrorSlot = [&](Type *ValueTy) -> Value * { in replaceSwiftErrorOps() argument 621 ->isOpaqueOrPointeeTypeMatches(ValueTy) && in replaceSwiftErrorOps() 631 ->isOpaqueOrPointeeTypeMatches(ValueTy) && in replaceSwiftErrorOps() 639 auto Alloca = Builder.CreateAlloca(ValueTy); in replaceSwiftErrorOps() 653 auto ValueTy = Op->getType(); in replaceSwiftErrorOps() local 654 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps() 655 MappedResult = Builder.CreateLoad(ValueTy, Slot); in replaceSwiftErrorOps() 659 auto ValueTy = Value->getType(); in replaceSwiftErrorOps() local 660 auto Slot = getSwiftErrorSlot(ValueTy); in replaceSwiftErrorOps()
|
| H A D | CoroFrame.cpp | 2232 static Value *emitGetSwiftErrorValue(IRBuilder<> &Builder, Type *ValueTy, in emitGetSwiftErrorValue() argument 2235 auto FnTy = FunctionType::get(ValueTy, {}, false); in emitGetSwiftErrorValue() 2268 auto ValueTy = Alloca->getAllocatedType(); in emitSetAndGetSwiftErrorValueAround() local 2273 auto ValueBeforeCall = Builder.CreateLoad(ValueTy, Alloca); in emitSetAndGetSwiftErrorValueAround() 2287 auto ValueAfterCall = emitGetSwiftErrorValue(Builder, ValueTy, Shape); in emitSetAndGetSwiftErrorValueAround() 2329 auto ValueTy = ArgTy->isOpaque() ? PointerType::getUnqual(F.getContext()) in eliminateSwiftErrorArgument() local 2335 auto Alloca = Builder.CreateAlloca(ValueTy, ArgTy->getAddressSpace()); in eliminateSwiftErrorArgument() 2339 auto InitialValue = Constant::getNullValue(ValueTy); in eliminateSwiftErrorArgument() 2350 auto FinalValue = Builder.CreateLoad(ValueTy, Alloca); in eliminateSwiftErrorArgument()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGAtomic.cpp | 33 QualType ValueTy; member in __anondd1f4e750111::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 D | TargetInfo.h | 306 typedef std::pair<llvm::Value *, StringRef> ValueTy; typedef 312 virtual llvm::SmallVector<ValueTy, 1>
|
| H A D | CGExprCXX.cpp | 1395 typedef typename Traits::ValueTy ValueTy; typedef in __anon3478caaa0411::CallDeleteDuringNew 1406 ValueTy Ptr; 1407 ValueTy AllocSize; 1420 const FunctionDecl *OperatorDelete, ValueTy Ptr, in CallDeleteDuringNew() 1421 ValueTy AllocSize, bool PassAlignmentToPlacementDelete, in CallDeleteDuringNew() 1496 typedef llvm::Value *ValueTy; in EnterNewDeleteCleanup() typedef 1498 static RValue get(CodeGenFunction &, ValueTy V) { return RValue::get(V); } in EnterNewDeleteCleanup() 1527 typedef DominatingValue<RValue>::saved_type ValueTy; in EnterNewDeleteCleanup() typedef 1529 static RValue get(CodeGenFunction &CGF, ValueTy V) { in EnterNewDeleteCleanup()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Host.h | 21 template <typename ValueTy, typename AllocatorTy> class StringMap;
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | CodeGenTarget.cpp | 362 CodeGenTarget::getSuperRegForSubReg(const ValueTypeByHwMode &ValueTy, in getSuperRegForSubReg() argument 378 if (!llvm::is_contained(SubClassWithSubReg->VTs, ValueTy)) in getSuperRegForSubReg()
|
| /llvm-project-15.0.7/llvm/include/llvm/TableGen/ |
| H A D | Record.h | 422 RecTy *ValueTy; variable 426 : Init(K, Opc), ValueTy(T) {} in Init() 438 RecTy *getType() const { return ValueTy; } in getType() 441 RecordKeeper &getRecordKeeper() const { return ValueTy->getRecordKeeper(); } in getRecordKeeper()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.h | 323 Value *emitLoadLinked(IRBuilderBase &Builder, Type *ValueTy, Value *Addr,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 2032 Type *ValueTy = SI->getValueOperand()->getType(); in isIntegerWideningViableForSlice() local 2036 if (DL.getTypeStoreSize(ValueTy).getFixedSize() > Size) in isIntegerWideningViableForSlice() 2045 if (!isa<VectorType>(ValueTy) && RelBegin == 0 && RelEnd == Size) in isIntegerWideningViableForSlice() 2047 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() 2051 !canConvertValue(DL, ValueTy, AllocaTy)) { in isIntegerWideningViableForSlice()
|