Home
last modified time | relevance | path

Searched refs:ValTy (Results 1 – 25 of 85) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowValues.h48 using ValTy = typename ValueTypes::ValTy;
51 using EdgeDataMapTy = llvm::DenseMap<ProgramPoint, ValTy>;
52 using BlockDataMapTy = llvm::DenseMap<const CFGBlock *, ValTy>;
53 using StmtDataMapTy = llvm::DenseMap<const Stmt *, ValTy>;
87 ValTy& getEdgeData(const BlockEdge &E) { in getEdgeData()
93 const ValTy& getEdgeData(const BlockEdge &E) const { in getEdgeData()
101 ValTy& getBlockData(const CFGBlock *B) { in getBlockData()
107 const ValTy& getBlockData(const CFGBlock *B) const { in getBlockData()
117 ValTy& getStmtData(const Stmt *S) { in getStmtData()
124 const ValTy& getStmtData(const Stmt *S) const { in getStmtData()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerUnion.h55 template <typename Derived, typename ValTy, int I, typename ...Types>
58 template <typename Derived, typename ValTy, int I>
59 class PointerUnionMembers<Derived, ValTy, I> {
61 ValTy Val;
63 PointerUnionMembers(ValTy Val) : Val(Val) {} in PointerUnionMembers()
68 template <typename Derived, typename ValTy, int I, typename Type,
70 class PointerUnionMembers<Derived, ValTy, I, Type, Types...>
71 : public PointerUnionMembers<Derived, ValTy, I + 1, Types...> {
72 using Base = PointerUnionMembers<Derived, ValTy, I + 1, Types...>;
77 : Base(ValTy(const_cast<void *>(
[all …]
H A DScopedHashTable.h162 using ValTy = ScopedHashTableVal<K, V>; variable
164 DenseMap<K, ValTy*, KInfo> TopLevelMap;
202 typename DenseMap<K, ValTy*, KInfo>::iterator I = in begin()
218 KeyEntry = ValTy::Create(S->getLastValInScope(), KeyEntry, Key, Val, in insertIntoScope()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyTypeUtilities.cpp76 wasm::ValType ValTy; in wasmSymbolSetType() local
82 ValTy = wasm::ValType::EXTERNREF; in wasmSymbolSetType()
84 ValTy = wasm::ValType::FUNCREF; in wasmSymbolSetType()
88 ValTy = WebAssembly::toValType(VTs[0]); in wasmSymbolSetType()
94 Sym->setTableType(ValTy); in wasmSymbolSetType()
97 Sym->setGlobalType(wasm::WasmGlobalType{uint8_t(ValTy), /*Mutable=*/true}); in wasmSymbolSetType()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp92 EVT ValTy = Addr.getValueType(); in selectAddr() local
97 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr()
98 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr()
121 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr()
122 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr()
128 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr()
154 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr()
H A DMipsDSPInstrInfo.td1348 class DSPBinPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1350 DSPPat<(Node ValTy:$a, ValTy:$b), (Inst ValTy:$a, ValTy:$b), Pred>;
1368 class DSPShiftPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1370 DSPPat<(Node ValTy:$a, Imm:$shamt), (Inst ValTy:$a, Imm:$shamt), Pred>;
1386 class DSPSetCCPat<Instruction Cmp, Instruction Pick, ValueType ValTy,
1388 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)),
1389 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)),
1390 (ValTy (COPY_TO_REGCLASS (ADDiu ZERO, -1), DSPR)),
1391 (ValTy ZERO)))>;
1393 class DSPSetCCPatInv<Instruction Cmp, Instruction Pick, ValueType ValTy,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600TargetTransformInfo.cpp111 InstructionCost R600TTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
120 DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType()); in getVectorInstrCost()
122 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, in getVectorInstrCost()
134 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1); in getVectorInstrCost()
H A DR600TargetTransformInfo.h65 InstructionCost getVectorInstrCost(unsigned Opcode, Type *ValTy,
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp159 Type *ValTy = Operand->getType(); in maybeGenerateBitcast() local
162 ValTy = GlobalVar->getValueType(); in maybeGenerateBitcast()
165 ValTy = AI->getAllocatedType(); in maybeGenerateBitcast()
167 if (auto *ArrTy = dyn_cast<ArrayType>(ValTy)) { in maybeGenerateBitcast()
184 ValTy = GlobalVar->getValueType(); in maybeGenerateBitcast()
186 ValTy = AI->getAllocatedType(); in maybeGenerateBitcast()
187 if (auto *ArrTy = dyn_cast<ArrayType>(ValTy)) { in maybeGenerateBitcast()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp902 InstructionCost ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
909 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
916 if (cast<VectorType>(ValTy)->getElementType()->isIntegerTy()) in getVectorInstrCost()
921 if (ValTy->isVectorTy() && in getVectorInstrCost()
922 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
924 BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1), in getVectorInstrCost()
934 getTypeLegalizationCost(ValTy->getScalarType()); in getVectorInstrCost()
935 return LT.first * (ValTy->getScalarType()->isIntegerTy() ? 4 : 1); in getVectorInstrCost()
938 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1); in getVectorInstrCost()
942 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred, in getCmpSelInstrCost() argument
[all …]
H A DARMTargetTransformInfo.h248 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred,
293 getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy,
298 VectorType *ValTy, std::optional<FastMathFlags> FMF,
301 getMulAccReductionCost(bool IsUnsigned, Type *ResTy, VectorType *ValTy,
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaISelDAGToDAG.cpp51 EVT ValTy = Addr.getValueType(); in selectMemRegAddr() local
55 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectMemRegAddr()
56 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy); in selectMemRegAddr()
83 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectMemRegAddr()
88 CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr), ValTy); in selectMemRegAddr()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp258 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred, in getCmpSelInstrCost() argument
261 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost()
262 if (!isHVXVectorType(ValTy) && ValTy->isFPOrFPVectorTy()) in getCmpSelInstrCost()
264 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost()
266 return LT.first + FloatFactor * getTypeNumElements(ValTy); in getCmpSelInstrCost()
268 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost()
H A DHexagonVectorCombine.cpp212 : Inst(I), Addr(A), ValTy(T), HaveAlign(H), in AddrInfo()
213 NeedAlign(HVC.getTypeAlignment(ValTy)) {} in AddrInfo()
219 Type *ValTy; member
313 Value *createAdjustedPointer(IRBuilderBase &Builder, Value *Ptr, Type *ValTy,
316 Value *createAlignedPointer(IRBuilderBase &Builder, Value *Ptr, Type *ValTy,
320 Value *createLoad(IRBuilderBase &Builder, Type *ValTy, Value *Ptr,
323 Value *createSimpleLoad(IRBuilderBase &Builder, Type *ValTy, Value *Ptr,
334 Value *createPredicatedLoad(IRBuilderBase &Builder, Type *ValTy, Value *Ptr,
371 OS << "Type: " << *AI.ValTy << '\n'; in operator <<()
645 return HVC.HST.isTypeForHVX(AI.ValTy); in isHvx()
[all …]
H A DHexagonISelLowering.cpp1200 EVT ValTy = Op.getValueType(); in LowerConstantPool() local
1225 T = DAG.getTargetConstantPool(CPN->getMachineCPVal(), ValTy, Alignment, in LowerConstantPool()
1228 T = DAG.getTargetConstantPool(CVal, ValTy, Alignment, Offset, TF); in LowerConstantPool()
1230 T = DAG.getTargetConstantPool(CPN->getConstVal(), ValTy, Alignment, Offset, in LowerConstantPool()
1237 return DAG.getNode(HexagonISD::AT_PCREL, SDLoc(Op), ValTy, T); in LowerConstantPool()
1238 return DAG.getNode(HexagonISD::CP, SDLoc(Op), ValTy, T); in LowerConstantPool()
2695 const SDLoc &dl, MVT ValTy, MVT ResTy, in extractVector() argument
2698 assert(!ValTy.isVector() || in extractVector()
2699 VecTy.getVectorElementType() == ValTy.getVectorElementType()); in extractVector()
2701 return extractVectorPred(VecV, IdxV, dl, ValTy, ResTy, DAG); in extractVector()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Atomic/
H A DAtomic.cpp16 bool AtomicInfo::shouldCastToInt(Type *ValTy, bool CmpXchg) { in shouldCastToInt() argument
17 if (ValTy->isFloatingPointTy()) in shouldCastToInt()
18 return ValTy->isX86_FP80Ty() || CmpXchg; in shouldCastToInt()
19 return !ValTy->isIntegerTy() && !ValTy->isPointerTy(); in shouldCastToInt()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DContext.h53 using ValTy = uint64_t;
54 static constexpr const ValTy InvalidVal = 0;
58 ValTy Val = InvalidVal;
59 explicit CallbackID(ValTy Val) : Val{Val} { in CallbackID()
113 CallbackID::ValTy NextCallbackID = 1;
316 using ReprInfo = DenseMapInfo<CallbackID::ValTy>;
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsHexagon.td263 class Hexagon_pred_vload_imm<LLVMType ValTy>
265 [ValTy],
282 class Hexagom_pred_vload_upd<LLVMType ValTy, bit TakesImm>
284 [ValTy, llvm_ptr_ty],
315 class Hexagon_pred_vstore_imm<LLVMType ValTy>
318 [llvm_i1_ty, llvm_ptr_ty, llvm_i32_ty, ValTy],
338 class Hexagon_pred_vstore_upd<LLVMType ValTy, bit TakesImm>
341 [llvm_i1_ty, llvm_ptr_ty, llvm_i32_ty, ValTy],
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1090 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred, in getCmpSelInstrCost() argument
1094 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost()
1097 if (!ValTy->isVectorTy()) { in getCmpSelInstrCost()
1102 unsigned ScalarBits = ValTy->getScalarSizeInBits(); in getCmpSelInstrCost()
1111 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost()
1116 if (ValTy->isFloatingPointTy()) in getCmpSelInstrCost()
1127 return !isInt128InVR(ValTy) ? 1 : 4; in getCmpSelInstrCost()
1131 unsigned VF = cast<FixedVectorType>(ValTy)->getNumElements(); in getCmpSelInstrCost()
1159 unsigned CmpCostPerVector = (ValTy->getScalarType()->isFloatTy() ? 10 : 1); in getCmpSelInstrCost()
1160 unsigned NumVecs_cmp = getNumVectorRegs(ValTy); in getCmpSelInstrCost()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFTargetTransformInfo.h49 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred,
57 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp1939 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *ValTy, in getExtendedReductionCost() argument
1941 if (isa<FixedVectorType>(ValTy) && !ST->useRVVForFixedLengthVectors()) in getExtendedReductionCost()
1942 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost()
1947 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost()
1951 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost()
1954 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getExtendedReductionCost()
1965 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost()
1969 getArithmeticReductionCost(Opcode, ValTy, FMF, CostKind); in getExtendedReductionCost()
2037 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred, in getCmpSelInstrCost() argument
2041 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp784 const LLT ValTy(ValVT); in handleAssignments() local
785 const LLT NewLLT = Handler.isIncomingArgumentHandler() ? LocTy : ValTy; in handleAssignments()
822 if (!Handler.isIncomingArgumentHandler() && OrigTy != ValTy && in handleAssignments()
826 ValTy, extendOpFromFlags(Args[i].Flags[0])); in handleAssignments()
1249 LLT ValTy(ValVT); in getStackValueStoreType() local
1255 ValTy.getScalarSizeInBits()); in getStackValueStoreType()
1257 return LLT::vector(ValTy.getElementCount(), PtrTy); in getStackValueStoreType()
1261 return ValTy; in getStackValueStoreType()
1295 LLT ValTy{VA.getValVT()}; in extendRegister() local
1297 if (LocTy.getSizeInBits() == ValTy.getSizeInBits()) in extendRegister()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DMips.cpp401 llvm::Type *ValTy = CGF.ConvertType(OrigTy); in EmitVAArg() local
405 llvm::Type *IntTy = (OrigTy->isIntegerType() ? ValTy : CGF.IntPtrTy); in EmitVAArg()
408 V = CGF.Builder.CreateIntToPtr(V, ValTy); in EmitVAArg()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h228 getArithmeticReductionCostSVE(unsigned Opcode, VectorType *ValTy,
245 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred,
445 VectorType *ValTy, std::optional<FastMathFlags> FMF,
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerCombiner.cpp311 LLT ValTy = MRI.getType(Store.getValueReg()); in matchSplitStoreZero128() local
312 if (ValTy.isScalableVector()) in matchSplitStoreZero128()
314 if (!ValTy.isVector() || ValTy.getSizeInBits() != 128) in matchSplitStoreZero128()
316 if (Store.getMemSizeInBits() != ValTy.getSizeInBits()) in matchSplitStoreZero128()

1234