/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | DataflowValues.h | 48 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 D | PointerUnion.h | 55 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 D | ScopedHashTable.h | 162 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 D | WebAssemblyTypeUtilities.cpp | 76 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/Xtensa/ |
H A D | XtensaISelDAGToDAG.cpp | 40 EVT ValTy = Addr.getValueType(); in selectMemRegAddr() local 44 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectMemRegAddr() 45 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy); in selectMemRegAddr() 73 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectMemRegAddr() 78 CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr), ValTy); in selectMemRegAddr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | Mips16ISelDAGToDAG.cpp | 101 EVT ValTy = Addr.getValueType(); in selectAddr() local 106 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr() 107 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr() 130 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr() 131 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr() 137 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr() 163 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr()
|
H A D | MipsDSPInstrInfo.td | 1348 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 D | R600TargetTransformInfo.cpp | 110 InstructionCost R600TTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument 118 DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType()); in getVectorInstrCost() 120 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, in getVectorInstrCost() 132 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1); in getVectorInstrCost()
|
H A D | R600TargetTransformInfo.h | 64 InstructionCost getVectorInstrCost(unsigned Opcode, Type *ValTy,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 882 InstructionCost ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument 889 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 896 if (cast<VectorType>(ValTy)->getElementType()->isIntegerTy()) in getVectorInstrCost() 901 if (ValTy->isVectorTy() && in getVectorInstrCost() 902 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 904 BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1), in getVectorInstrCost() 914 getTypeLegalizationCost(ValTy->getScalarType()); in getVectorInstrCost() 915 return LT.first * (ValTy->getScalarType()->isIntegerTy() ? 4 : 1); in getVectorInstrCost() 918 return BaseT::getVectorInstrCost(Opcode, ValTy, CostKind, Index, Op0, Op1); in getVectorInstrCost() 921 InstructionCost ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument [all …]
|
H A D | ARMTargetTransformInfo.h | 242 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 283 InstructionCost getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy, 287 Type *ResTy, VectorType *ValTy, 291 VectorType *ValTy,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetTransformInfo.cpp | 258 InstructionCost HexagonTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument 263 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost() 264 if (!isHVXVectorType(ValTy) && ValTy->isFPOrFPVectorTy()) in getCmpSelInstrCost() 266 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() 268 return LT.first + FloatFactor * getTypeNumElements(ValTy); in getCmpSelInstrCost() 270 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
H A D | HexagonVectorCombine.cpp | 211 : Inst(I), Addr(A), ValTy(T), HaveAlign(H), in AddrInfo() 212 NeedAlign(HVC.getTypeAlignment(ValTy)) {} in AddrInfo() 218 Type *ValTy; member 312 Value *createAdjustedPointer(IRBuilderBase &Builder, Value *Ptr, Type *ValTy, 315 Value *createAlignedPointer(IRBuilderBase &Builder, Value *Ptr, Type *ValTy, 319 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 D | HexagonISelLowering.cpp | 1131 EVT ValTy = Op.getValueType(); in LowerConstantPool() local 1156 T = DAG.getTargetConstantPool(CPN->getMachineCPVal(), ValTy, Alignment, in LowerConstantPool() 1159 T = DAG.getTargetConstantPool(CVal, ValTy, Alignment, Offset, TF); in LowerConstantPool() 1161 T = DAG.getTargetConstantPool(CPN->getConstVal(), ValTy, Alignment, Offset, in LowerConstantPool() 1168 return DAG.getNode(HexagonISD::AT_PCREL, SDLoc(Op), ValTy, T); in LowerConstantPool() 1169 return DAG.getNode(HexagonISD::CP, SDLoc(Op), ValTy, T); in LowerConstantPool() 2673 const SDLoc &dl, MVT ValTy, MVT ResTy, in extractVector() argument 2676 assert(!ValTy.isVector() || in extractVector() 2677 VecTy.getVectorElementType() == ValTy.getVectorElementType()); in extractVector() 2679 return extractVectorPred(VecV, IdxV, dl, ValTy, ResTy, DAG); in extractVector() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.cpp | 1333 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *ValTy, in getExtendedReductionCost() argument 1335 if (isa<FixedVectorType>(ValTy) && !ST->useRVVForFixedLengthVectors()) in getExtendedReductionCost() 1336 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost() 1341 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost() 1345 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost() 1348 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getExtendedReductionCost() 1351 return BaseT::getExtendedReductionCost(Opcode, IsUnsigned, ResTy, ValTy, in getExtendedReductionCost() 1355 getArithmeticReductionCost(Opcode, ValTy, FMF, CostKind); in getExtendedReductionCost() 1406 InstructionCost RISCVTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument 1412 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 962 InstructionCost SystemZTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument 968 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost() 970 if (!ValTy->isVectorTy()) { in getCmpSelInstrCost() 975 unsigned ScalarBits = ValTy->getScalarSizeInBits(); in getCmpSelInstrCost() 984 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost() 989 if (ValTy->isFloatingPointTy() || isInt128InVR(ValTy)) in getCmpSelInstrCost() 995 unsigned VF = cast<FixedVectorType>(ValTy)->getNumElements(); in getCmpSelInstrCost() 1023 unsigned CmpCostPerVector = (ValTy->getScalarType()->isFloatTy() ? 10 : 1); in getCmpSelInstrCost() 1024 unsigned NumVecs_cmp = getNumVectorRegs(ValTy); in getCmpSelInstrCost() 1038 getVectorBitmaskConversionCost(CmpOpTy, ValTy); in getCmpSelInstrCost() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicsHexagon.td | 263 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],
|
H A D | VectorBuilder.h | 106 Value *createSimpleTargetReduction(Intrinsic::ID RdxID, Type *ValTy,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFTargetTransformInfo.h | 47 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 54 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind,
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | VectorBuilder.cpp | 64 Type *ValTy, in createSimpleTargetReduction() argument 70 return createVectorInstructionImpl(VPID, ValTy, InstOpArray, Name); in createSimpleTargetReduction()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CallLowering.cpp | 785 const LLT ValTy(ValVT); in handleAssignments() local 786 const LLT NewLLT = Handler.isIncomingArgumentHandler() ? LocTy : ValTy; in handleAssignments() 823 if (!Handler.isIncomingArgumentHandler() && OrigTy != ValTy && in handleAssignments() 827 ValTy, extendOpFromFlags(Args[i].Flags[0])); in handleAssignments() 1250 LLT ValTy(ValVT); in getStackValueStoreType() local 1256 ValTy.getScalarSizeInBits()); in getStackValueStoreType() 1258 return LLT::vector(ValTy.getElementCount(), PtrTy); in getStackValueStoreType() 1262 return ValTy; in getStackValueStoreType() 1296 LLT ValTy{VA.getValVT()}; in extendRegister() local 1298 if (LocTy.getSizeInBits() == ValTy.getSizeInBits()) in extendRegister() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64PostLegalizerCombiner.cpp | 311 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()
|
H A D | AArch64LegalizerInfo.cpp | 332 const LLT &ValTy = Query.Types[0]; in AArch64LegalizerInfo() local 333 return ValTy.isPointerVector() && ValTy.getAddressSpace() == 0; in AArch64LegalizerInfo() 1745 const LLT ValTy = MRI.getType(ValReg); in legalizeLoadStore() local 1747 if (ValTy == LLT::scalar(128)) { in legalizeLoadStore() 1800 if (!ValTy.isPointerVector() || in legalizeLoadStore() 1801 ValTy.getElementType().getAddressSpace() != 0) { in legalizeLoadStore() 1806 unsigned PtrSize = ValTy.getElementType().getSizeInBits(); in legalizeLoadStore() 1807 const LLT NewTy = LLT::vector(ValTy.getElementCount(), PtrSize); in legalizeLoadStore() 1850 LLT ValTy = MRI.getType(Dst); in legalizeVaArg() local 1851 uint64_t ValSize = ValTy.getSizeInBits() / 8; in legalizeVaArg() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | Mips.cpp | 382 llvm::Type *ValTy = CGF.ConvertType(OrigTy); in EmitVAArg() local 386 llvm::Type *IntTy = (OrigTy->isIntegerType() ? ValTy : CGF.IntPtrTy); in EmitVAArg() 389 V = CGF.Builder.CreateIntToPtr(V, ValTy); in EmitVAArg()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SDPatternMatch.h | 863 template <typename ValTy> 864 inline BinaryOpc_match<SpecificInt_match, ValTy> m_Neg(const ValTy &V) { 869 template <typename ValTy> 870 inline BinaryOpc_match<ValTy, AllOnes_match, true> m_Not(const ValTy &V) {
|