| /freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/ |
| H A D | WebAssemblyTypeUtilities.cpp | 72 wasm::ValType ValTy; in wasmSymbolSetType() local 78 ValTy = wasm::ValType::EXTERNREF; in wasmSymbolSetType() 80 ValTy = wasm::ValType::FUNCREF; in wasmSymbolSetType() 84 ValTy = WebAssembly::toValType(VTs[0]); in wasmSymbolSetType() 90 Sym->setTableType(ValTy); in wasmSymbolSetType() 93 Sym->setGlobalType(wasm::WasmGlobalType{uint8_t(ValTy), /*Mutable=*/true}); in wasmSymbolSetType()
|
| /freebsd-14.2/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 | 1350 DSPPat<(Node ValTy:$a, ValTy:$b), (Inst ValTy:$a, ValTy:$b), Pred>; 1370 DSPPat<(Node ValTy:$a, Imm:$shamt), (Inst ValTy:$a, Imm:$shamt), Pred>; 1388 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)), 1389 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)), 1395 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)), 1396 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)), 1397 (ValTy ZERO), 1402 DSPPat<(ValTy (MipsSELECT_CC_DSP ValTy:$a, ValTy:$b, ValTy:$c, ValTy:$d, CC)), 1403 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)), $c, $d))>; 1407 DSPPat<(ValTy (MipsSELECT_CC_DSP ValTy:$a, ValTy:$b, ValTy:$c, ValTy:$d, CC)), [all …]
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 885 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 897 if (ValTy->isVectorTy() && in getVectorInstrCost() 898 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 926 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost() 942 if (ValTy->isIntegerTy(1)) in getCmpSelInstrCost() 955 if (Sel && ValTy->isVectorTy() && in getCmpSelInstrCost() 956 (ValTy->isIntOrIntVectorTy() || ValTy->isFPOrFPVectorTy())) { in getCmpSelInstrCost() 989 IntrinsicCostAttributes CostAttrs(IID, ValTy, {ValTy, ValTy}); in getCmpSelInstrCost() 1674 EVT ValVT = TLI->getValueType(DL, ValTy); in getArithmeticReductionCost() 1758 EVT ValVT = TLI->getValueType(DL, ValTy); in getExtendedReductionCost() [all …]
|
| H A D | ARMTargetTransformInfo.h | 241 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 282 InstructionCost getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy, 286 Type *ResTy, VectorType *ValTy, 290 VectorType *ValTy,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 989 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *ValTy, in getExtendedReductionCost() argument 991 if (isa<FixedVectorType>(ValTy) && !ST->useRVVForFixedLengthVectors()) in getExtendedReductionCost() 1004 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getExtendedReductionCost() 1011 getArithmeticReductionCost(Opcode, ValTy, FMF, CostKind); in getExtendedReductionCost() 1071 if (isa<FixedVectorType>(ValTy) && !ST->useRVVForFixedLengthVectors()) in getCmpSelInstrCost() 1076 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() > ST->getELen()) in getCmpSelInstrCost() 1080 if (Opcode == Instruction::Select && ValTy->isVectorTy()) { in getCmpSelInstrCost() 1081 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() 1083 if (ValTy->getScalarSizeInBits() == 1) { in getCmpSelInstrCost() 1093 if (ValTy->getScalarSizeInBits() == 1) { in getCmpSelInstrCost() [all …]
|
| H A D | RISCVTargetTransformInfo.h | 160 Type *ResTy, VectorType *ValTy, 170 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 271 InstructionCost HexagonTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument 276 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost() 277 if (!isHVXVectorType(ValTy) && ValTy->isFPOrFPVectorTy()) in getCmpSelInstrCost() 279 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() 281 return LT.first + FloatFactor * getTypeNumElements(ValTy); in getCmpSelInstrCost() 283 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 371 OS << "Type: " << *AI.ValTy << '\n'; in operator <<() 645 return HVC.HST.isTypeForHVX(AI.ValTy); in isHvx() 669 Type *ValTy = getPayload(Val)->getType(); in getMask() local 670 if (auto *VecTy = dyn_cast<VectorType>(ValTy)) in getMask() 722 return UndefValue::get(ValTy); in createLoad() 757 assert(HVC.HST.isTypeForHVX(ValTy) && in createPredicatedLoad() 763 return UndefValue::get(ValTy); in createPredicatedLoad() [all …]
|
| H A D | HexagonISelLowering.cpp | 1112 EVT ValTy = Op.getValueType(); in LowerConstantPool() local 2659 assert(!ValTy.isVector() || in extractVector() 2665 unsigned ValWidth = ValTy.getSizeInBits(); in extractVector() 2714 unsigned ValWidth = ValTy.getSizeInBits(); in extractVectorPred() 2769 unsigned ValWidth = ValTy.getSizeInBits(); in insertVector() 2809 if (ValTy == MVT::i1) { in insertVectorPred() 2819 assert(ValTy.getVectorElementType() == MVT::i1); in insertVectorPred() 2820 SDValue ValR = ValTy.isVector() in insertVectorPred() 2885 MVT ValTy = ty(Val); in appendUndef() local 2888 unsigned ValLen = ValTy.getVectorNumElements(); in appendUndef() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 960 InstructionCost SystemZTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument 966 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost() 968 if (!ValTy->isVectorTy()) { in getCmpSelInstrCost() 973 unsigned ScalarBits = ValTy->getScalarSizeInBits(); in getCmpSelInstrCost() 982 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost() 987 if (ValTy->isFloatingPointTy() || isInt128InVR(ValTy)) in getCmpSelInstrCost() 993 unsigned VF = cast<FixedVectorType>(ValTy)->getNumElements(); in getCmpSelInstrCost() 1022 unsigned NumVecs_cmp = getNumVectorRegs(ValTy); in getCmpSelInstrCost() 1036 getVectorBitmaskConversionCost(CmpOpTy, ValTy); in getCmpSelInstrCost() 1038 return getNumVectorRegs(ValTy) /*vsel*/ + PackCost; in getCmpSelInstrCost() [all …]
|
| /freebsd-14.2/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 | PatternMatch.h | 2422 template <typename ValTy> 2424 m_Neg(const ValTy &V) { 2429 template <typename ValTy> 2433 m_NSWNeg(const ValTy &V) { 2440 template <typename ValTy> 2442 m_Not(const ValTy &V) { 2447 ValTy Val; 2448 NotForbidUndef_match(const ValTy &V) : Val(V) {} 2466 template <typename ValTy> 2467 inline NotForbidUndef_match<ValTy> m_NotForbidUndef(const ValTy &V) { [all …]
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 739 const LLT ValTy(ValVT); in handleAssignments() local 740 const LLT NewLLT = Handler.isIncomingArgumentHandler() ? LocTy : ValTy; in handleAssignments() 768 if (!Handler.isIncomingArgumentHandler() && OrigTy != ValTy) { in handleAssignments() 771 ValTy, extendOpFromFlags(Args[i].Flags[0])); in handleAssignments() 1135 LLT ValTy(ValVT); in getStackValueStoreType() local 1141 ValTy.getScalarSizeInBits()); in getStackValueStoreType() 1143 return LLT::vector(ValTy.getElementCount(), PtrTy); in getStackValueStoreType() 1147 return ValTy; in getStackValueStoreType() 1181 LLT ValTy{VA.getValVT()}; in extendRegister() local 1183 if (LocTy.getSizeInBits() == ValTy.getSizeInBits()) in extendRegister() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64LegalizerInfo.cpp | 341 const LLT &ValTy = Query.Types[0]; in AArch64LegalizerInfo() local 342 if (!ValTy.isVector()) in AArch64LegalizerInfo() 344 const LLT EltTy = ValTy.getElementType(); in AArch64LegalizerInfo() 1600 const LLT ValTy = MRI.getType(ValReg); in legalizeLoadStore() local 1602 if (ValTy == LLT::scalar(128)) { in legalizeLoadStore() 1655 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() || in legalizeLoadStore() 1656 ValTy.getElementType().getAddressSpace() != 0) { in legalizeLoadStore() 1661 unsigned PtrSize = ValTy.getElementType().getSizeInBits(); in legalizeLoadStore() 1662 const LLT NewTy = LLT::vector(ValTy.getElementCount(), PtrSize); in legalizeLoadStore() 1705 LLT ValTy = MRI.getType(Dst); in legalizeVaArg() local [all …]
|
| H A D | AArch64PostLegalizerCombiner.cpp | 311 LLT ValTy = MRI.getType(Store.getValueReg()); in matchSplitStoreZero128() local 312 if (!ValTy.isVector() || ValTy.getSizeInBits() != 128) in matchSplitStoreZero128() 314 if (ValTy.getSizeInBits() != Store.getMemSizeInBits()) in matchSplitStoreZero128()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 2978 if (isa<FixedVectorType>(ValTy) && ISD == ISD::SELECT) { in getCmpSelInstrCost() 3001 auto LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() 3024 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost() 3033 if (isa<FixedVectorType>(ValTy) && ISD == ISD::SETCC) { in getCmpSelInstrCost() 3034 auto LT = getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() 3043 if (ValTy->isIntegerTy() && ISD == ISD::SETCC && I && in getCmpSelInstrCost() 3045 TLI->isTypeLegal(TLI->getValueType(DL, ValTy)) && in getCmpSelInstrCost() 3588 if (auto *FixedVTy = dyn_cast<FixedVectorType>(ValTy)) { in getArithmeticReductionCost() 3599 auto *VTy = cast<ScalableVectorType>(ValTy); in getArithmeticReductionCost() 3606 if (isa<ScalableVectorType>(ValTy)) in getArithmeticReductionCost() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 357 Type *ValTy = pickType(); in Act() local 361 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act() 364 Value *Val = getRandomValue(ValTy); in Act()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGAtomic.cpp | 820 CharUnits Align = CGF.getContext().getTypeAlignInChars(ValTy); in AddDirectArgument() 822 ValTy = in AddDirectArgument() 827 CGF.getContext().getPointerType(ValTy), in AddDirectArgument() 830 Args.add(RValue::get(Val), ValTy); in AddDirectArgument() 1639 auto *ValTy = AsValue in ConvertIntToValueOrAtomic() local 1642 if (ValTy->isIntegerTy()) { in ConvertIntToValueOrAtomic() 1643 assert(IntVal->getType() == ValTy && "Different integer types."); in ConvertIntToValueOrAtomic() 1645 } else if (ValTy->isPointerTy()) in ConvertIntToValueOrAtomic() 1646 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy)); in ConvertIntToValueOrAtomic() 1647 else if (llvm::CastInst::isBitCastable(IntVal->getType(), ValTy)) in ConvertIntToValueOrAtomic() [all …]
|