| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | DataflowValues.h | 48 typedef typename ValueTypes::ValTy ValTy; typedef 51 typedef llvm::DenseMap<ProgramPoint, ValTy> EdgeDataMapTy; 52 typedef llvm::DenseMap<const CFGBlock*, ValTy> BlockDataMapTy; 53 typedef llvm::DenseMap<const Stmt*, ValTy> StmtDataMapTy; 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-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | PointerUnion.h | 96 template <typename Derived, typename ValTy, int I, typename ...Types> 99 template <typename Derived, typename ValTy, int I> 100 class PointerUnionMembers<Derived, ValTy, I> { 102 ValTy Val; 104 PointerUnionMembers(ValTy Val) : Val(Val) {} 109 template <typename Derived, typename ValTy, int I, typename Type, 111 class PointerUnionMembers<Derived, ValTy, I, Type, Types...> 112 : public PointerUnionMembers<Derived, ValTy, I + 1, Types...> { 113 using Base = PointerUnionMembers<Derived, ValTy, I + 1, Types...>; 118 : Base(ValTy(const_cast<void *>( [all …]
|
| H A D | ScopedHashTable.h | 160 using ValTy = ScopedHashTableVal<K, V>; variable 162 DenseMap<K, ValTy*, KInfo> TopLevelMap; 203 typename DenseMap<K, ValTy*, KInfo>::iterator I = in begin() 219 KeyEntry = ValTy::Create(S->getLastValInScope(), KeyEntry, Key, Val, in insertIntoScope()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IntrinsicsHexagon.td | 258 class Hexagon_pred_vload_imm<LLVMType ValTy> 260 [ValTy], 261 [llvm_i1_ty, LLVMPointerType<ValTy>, llvm_i32_ty], 277 class Hexagom_pred_vload_upd<LLVMType ValTy, bit TakesImm> 279 [ValTy, LLVMPointerType<ValTy>], 280 [llvm_i1_ty, LLVMPointerType<ValTy>, llvm_i32_ty], 310 class Hexagon_pred_vstore_imm<LLVMType ValTy> 313 [llvm_i1_ty, LLVMPointerType<ValTy>, llvm_i32_ty, ValTy], 333 class Hexagon_pred_vstore_upd<LLVMType ValTy, bit TakesImm> 335 [LLVMPointerType<ValTy>], [all …]
|
| /freebsd-13.1/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 | 1361 DSPPat<(Node ValTy:$a, ValTy:$b), (Inst ValTy:$a, ValTy:$b), Pred>; 1381 DSPPat<(Node ValTy:$a, Imm:$shamt), (Inst ValTy:$a, Imm:$shamt), Pred>; 1399 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)), 1400 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)), 1406 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)), 1407 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)), 1408 (ValTy ZERO), 1413 DSPPat<(ValTy (MipsSELECT_CC_DSP ValTy:$a, ValTy:$b, ValTy:$c, ValTy:$d, CC)), 1414 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)), $c, $d))>; 1418 DSPPat<(ValTy (MipsSELECT_CC_DSP ValTy:$a, ValTy:$b, ValTy:$c, ValTy:$d, CC)), [all …]
|
| H A D | MipsSEISelDAGToDAG.cpp | 271 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndex() local 273 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndex() 274 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy); in selectAddrFrameIndex() 287 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndexOffset() local 292 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndexOffset() 303 ValTy); in selectAddrFrameIndexOffset()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 810 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 822 if (ValTy->isVectorTy() && in getVectorInstrCost() 823 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 850 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost() 866 if (ValTy->isIntegerTy(1)) in getCmpSelInstrCost() 879 if (Sel && ValTy->isVectorTy() && in getCmpSelInstrCost() 880 (ValTy->isIntOrIntVectorTy() || ValTy->isFPOrFPVectorTy())) { in getCmpSelInstrCost() 913 IntrinsicCostAttributes CostAttrs(IID, ValTy, {ValTy, ValTy}); in getCmpSelInstrCost() 928 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost() 1602 EVT ValVT = TLI->getValueType(DL, ValTy); in getArithmeticReductionCost() [all …]
|
| H A D | ARMTargetTransformInfo.h | 217 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 259 InstructionCost getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy, 263 Type *ResTy, VectorType *ValTy,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 150 : Inst(I), Addr(A), ValTy(T), HaveAlign(H), in AddrInfo() 151 NeedAlign(HVC.getTypeAlignment(ValTy)) {} in AddrInfo() 156 Type *ValTy; member 256 OS << "Type: " << *AI.ValTy << '\n'; in operator <<() 398 return HVC.HST.isTypeForHVX(AI.ValTy); in isHvx() 422 Type *ValTy = getPayload(Val)->getType(); in getMask() local 423 if (auto *VecTy = dyn_cast<VectorType>(ValTy)) { in getMask() 824 Type *ValTy = getPayload(B.Seg.Val)->getType(); in realignGroup() local 825 Value *Cast = Builder.CreateBitCast(Accum, ValTy); in realignGroup() 1142 auto *ValTy = cast<VectorType>(Val->getType()); in vresize() local [all …]
|
| H A D | HexagonTargetTransformInfo.cpp | 249 InstructionCost HexagonTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument 254 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost() 255 std::pair<InstructionCost, MVT> LT = TLI.getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost() 257 return LT.first + FloatFactor * getTypeNumElements(ValTy); in getCmpSelInstrCost() 259 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
| H A D | HexagonISelLowering.cpp | 1118 EVT ValTy = Op.getValueType(); in LowerConstantPool() local 1156 return DAG.getNode(HexagonISD::CP, SDLoc(Op), ValTy, T); in LowerConstantPool() 2541 assert(!ValTy.isVector() || in extractVector() 2544 unsigned ValWidth = ValTy.getSizeInBits(); in extractVector() 2641 MVT ValTy = ty(ValV); in insertVector() local 2642 assert(ValTy.getVectorElementType() == MVT::i1); in insertVector() 2645 unsigned Scale = VecLen / ValTy.getVectorNumElements(); in insertVector() 2668 unsigned ValWidth = ValTy.getSizeInBits(); in insertVector() 2740 MVT ValTy = ty(Val); in appendUndef() local 2743 unsigned ValLen = ValTy.getVectorNumElements(); in appendUndef() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 872 InstructionCost SystemZTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument 878 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost() 880 if (!ValTy->isVectorTy()) { in getCmpSelInstrCost() 885 unsigned ScalarBits = ValTy->getScalarSizeInBits(); in getCmpSelInstrCost() 894 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost() 899 if (ValTy->isFloatingPointTy()) in getCmpSelInstrCost() 905 unsigned VF = cast<FixedVectorType>(ValTy)->getNumElements(); in getCmpSelInstrCost() 934 unsigned NumVecs_cmp = getNumVectorRegs(ValTy); in getCmpSelInstrCost() 948 getVectorBitmaskConversionCost(CmpOpTy, ValTy); in getCmpSelInstrCost() 950 return getNumVectorRegs(ValTy) /*vsel*/ + PackCost; in getCmpSelInstrCost() [all …]
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64LegalizerInfo.cpp | 279 const LLT &ValTy = Query.Types[0]; in AArch64LegalizerInfo() local 280 if (!ValTy.isVector()) in AArch64LegalizerInfo() 282 const LLT EltTy = ValTy.getElementType(); in AArch64LegalizerInfo() 991 const LLT ValTy = MRI.getType(ValReg); in legalizeLoadStore() local 993 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() || in legalizeLoadStore() 994 ValTy.getElementType().getAddressSpace() != 0) { in legalizeLoadStore() 999 unsigned PtrSize = ValTy.getElementType().getSizeInBits(); in legalizeLoadStore() 1000 const LLT NewTy = LLT::vector(ValTy.getElementCount(), PtrSize); in legalizeLoadStore() 1043 LLT ValTy = MRI.getType(Dst); in legalizeVaArg() local 1044 uint64_t ValSize = ValTy.getSizeInBits() / 8; in legalizeVaArg() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 1439 if (isa<FixedVectorType>(ValTy) && ISD == ISD::SELECT) { in getCmpSelInstrCost() 1457 auto LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost() 1473 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost() 1928 unsigned Opcode, VectorType *ValTy, TTI::TargetCostKind CostKind) { in getArithmeticReductionCostSVE() argument 1932 Type *LegalVTy = EVT(LT.second).getTypeForEVT(ValTy->getContext()); in getArithmeticReductionCostSVE() 1957 if (!isa<ScalableVectorType>(ValTy)) in getArithmeticReductionCost() 1963 auto *VTy = cast<ScalableVectorType>(ValTy); in getArithmeticReductionCost() 1970 if (isa<ScalableVectorType>(ValTy)) in getArithmeticReductionCost() 1971 return getArithmeticReductionCostSVE(Opcode, ValTy, CostKind); in getArithmeticReductionCost() 2027 auto *ValVTy = cast<FixedVectorType>(ValTy); in getArithmeticReductionCost() [all …]
|
| H A D | AArch64TargetTransformInfo.h | 177 VectorType *ValTy, 195 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 634 const LLT ValTy(ValVT); in handleAssignments() local 635 const LLT NewLLT = Handler.isIncomingArgumentHandler() ? LocTy : ValTy; in handleAssignments() 663 if (!Handler.isIncomingArgumentHandler() && OrigTy != ValTy) { in handleAssignments() 666 ValTy, extendOpFromFlags(Args[i].Flags[0])); in handleAssignments() 1020 LLT ValTy(ValVT); in getStackValueStoreType() local 1026 ValTy.getScalarSizeInBits()); in getStackValueStoreType() 1028 return LLT::vector(ValTy.getElementCount(), PtrTy); in getStackValueStoreType() 1032 return ValTy; in getStackValueStoreType() 1066 LLT ValTy{VA.getValVT()}; in extendRegister() local 1068 if (LocTy.getSizeInBits() == ValTy.getSizeInBits()) in extendRegister() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 877 InstructionCost GCNTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument 883 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType()); in getVectorInstrCost() 887 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost() 898 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost() 1329 InstructionCost R600TTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument 1335 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType()); in getVectorInstrCost() 1337 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost() 1348 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
|
| H A D | AMDGPUTargetTransformInfo.h | 172 InstructionCost getVectorInstrCost(unsigned Opcode, Type *ValTy, 259 InstructionCost getVectorInstrCost(unsigned Opcode, Type *ValTy,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGAtomic.cpp | 766 CharUnits Align = CGF.getContext().getTypeAlignInChars(ValTy); in AddDirectArgument() 768 ValTy = in AddDirectArgument() 774 CGF.getContext().getPointerType(ValTy), in AddDirectArgument() 777 Args.add(RValue::get(Val), ValTy); in AddDirectArgument() 1478 auto *ValTy = AsValue in ConvertIntToValueOrAtomic() local 1481 if (ValTy->isIntegerTy()) { in ConvertIntToValueOrAtomic() 1482 assert(IntVal->getType() == ValTy && "Different integer types."); in ConvertIntToValueOrAtomic() 1484 } else if (ValTy->isPointerTy()) in ConvertIntToValueOrAtomic() 1485 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy)); in ConvertIntToValueOrAtomic() 1486 else if (llvm::CastInst::isBitCastable(IntVal->getType(), ValTy)) in ConvertIntToValueOrAtomic() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 530 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 1019 Type *ValTy = U->getOperand(0)->getType(); in getUserCost() local 1020 return TargetTTI->getMemoryOpCost(Opcode, ValTy, SI->getAlign(), in getUserCost() 1055 Type *ValTy = U->getOperand(0)->getType(); in getUserCost() local 1057 return TargetTTI->getCmpSelInstrCost(Opcode, ValTy, U->getType(), in getUserCost()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | DIE.h | 387 using ValTy = variable 392 static_assert(sizeof(ValTy) <= sizeof(uint64_t) || 393 sizeof(ValTy) <= sizeof(void *), 397 ValTy Val;
|
| H A D | BasicTTIImpl.h | 1049 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 1059 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, 1069 TLI->getTypeLegalizationCost(DL, ValTy); 1071 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && 1081 if (auto *ValVTy = dyn_cast<VectorType>(ValTy)) { 2028 Type *ValTy = IntegerType::get(Ty->getContext(), NumVecElts); in getTreeReductionCost() local 2029 return thisT()->getCastInstrCost(Instruction::BitCast, ValTy, Ty, in getTreeReductionCost() 2031 thisT()->getCmpSelInstrCost(Instruction::ICmp, ValTy, in getTreeReductionCost() 2032 CmpInst::makeCmpResultType(ValTy), in getTreeReductionCost()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GenericTaintChecker.cpp | 669 QualType ValTy = ArgTy->getPointeeType(); in getPointeeOf() local 673 if (ValTy->isVoidType()) in getPointeeOf() 674 ValTy = C.getASTContext().CharTy; in getPointeeOf() 676 return State->getSVal(*AddrLoc, ValTy); in getPointeeOf()
|