| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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 …]
|
| H A D | PatternMatch.h | 2271 template <typename ValTy> 2273 m_Neg(const ValTy &V) { 2278 template <typename ValTy> 2282 m_NSWNeg(const ValTy &V) { 2287 template <typename ValTy> 2289 m_Not(const ValTy &V) { 2294 ValTy Val; 2295 NotForbidUndef_match(const ValTy &V) : Val(V) {} 2313 template <typename ValTy> 2314 inline NotForbidUndef_match<ValTy> m_NotForbidUndef(const ValTy &V) { [all …]
|
| /llvm-project-15.0.7/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 | 1352 DSPPat<(Node ValTy:$a, ValTy:$b), (Inst ValTy:$a, ValTy:$b), Pred>; 1372 DSPPat<(Node ValTy:$a, Imm:$shamt), (Inst ValTy:$a, Imm:$shamt), Pred>; 1390 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)), 1391 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)), 1397 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)), 1398 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)), 1399 (ValTy ZERO), 1404 DSPPat<(ValTy (MipsSELECT_CC_DSP ValTy:$a, ValTy:$b, ValTy:$c, ValTy:$d, CC)), 1405 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)), $c, $d))>; 1409 DSPPat<(ValTy (MipsSELECT_CC_DSP ValTy:$a, ValTy:$b, ValTy:$c, ValTy:$d, CC)), [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Utils/ |
| H A D | WebAssemblyTypeUtilities.cpp | 184 wasm::ValType ValTy; in wasmSymbolSetType() local 191 ValTy = wasm::ValType::EXTERNREF; in wasmSymbolSetType() 193 ValTy = wasm::ValType::FUNCREF; in wasmSymbolSetType() 197 ValTy = WebAssembly::toValType(VTs[0]); in wasmSymbolSetType() 203 Sym->setTableType(ValTy); in wasmSymbolSetType() 206 Sym->setGlobalType(wasm::WasmGlobalType{uint8_t(ValTy), /*Mutable=*/true}); in wasmSymbolSetType()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | R600TargetTransformInfo.cpp | 110 InstructionCost R600TTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument 116 DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType()); in getVectorInstrCost() 118 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost() 129 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
|
| H A D | R600TargetTransformInfo.h | 63 InstructionCost getVectorInstrCost(unsigned Opcode, Type *ValTy,
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 880 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 892 if (ValTy->isVectorTy() && in getVectorInstrCost() 893 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 920 ST->isThumb() && !ValTy->isVectorTy()) { in getCmpSelInstrCost() 936 if (ValTy->isIntegerTy(1)) in getCmpSelInstrCost() 949 if (Sel && ValTy->isVectorTy() && in getCmpSelInstrCost() 950 (ValTy->isIntOrIntVectorTy() || ValTy->isFPOrFPVectorTy())) { in getCmpSelInstrCost() 983 IntrinsicCostAttributes CostAttrs(IID, ValTy, {ValTy, ValTy}); in getCmpSelInstrCost() 998 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost() 1662 EVT ValVT = TLI->getValueType(DL, ValTy); in getArithmeticReductionCost() [all …]
|
| H A D | ARMTargetTransformInfo.h | 235 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 275 InstructionCost getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy, 279 Type *ResTy, VectorType *ValTy,
|
| /llvm-project-15.0.7/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() 157 Type *ValTy; member 259 OS << "Type: " << *AI.ValTy << '\n'; in operator <<() 401 return HVC.HST.isTypeForHVX(AI.ValTy); in isHvx() 425 Type *ValTy = getPayload(Val)->getType(); in getMask() local 426 if (auto *VecTy = dyn_cast<VectorType>(ValTy)) { in getMask() 826 Type *ValTy = getPayload(B.Seg.Val)->getType(); in realignGroup() local 827 Value *Cast = Builder.CreateBitCast(Accum, ValTy); in realignGroup() 1148 auto *ValTy = cast<VectorType>(Val->getType()); in vresize() local [all …]
|
| H A D | HexagonTargetTransformInfo.cpp | 251 InstructionCost HexagonTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument 256 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost() 257 std::pair<InstructionCost, MVT> LT = TLI.getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost() 259 return LT.first + FloatFactor * getTypeNumElements(ValTy); in getCmpSelInstrCost() 261 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.cpp | 411 EVT ValTy = N->getValueType(0); in performANDCombine() local 438 if (SMIdx != 0 || lsb + SMLen > ValTy.getSizeInBits()) in performANDCombine() 460 return DAG.getNode(LoongArchISD::BSTRPICK, DL, ValTy, NewOperand, in performANDCombine() 479 EVT ValTy = N->getValueType(0); in performSRLCombine() local 498 return DAG.getNode(LoongArchISD::BSTRPICK, DL, ValTy, in performSRLCombine() 510 EVT ValTy = N->getValueType(0); in performORCombine() local 514 unsigned ValBits = ValTy.getSizeInBits(); in performORCombine() 625 LoongArchISD::BSTRINS, DL, ValTy, N0.getOperand(0), in performORCombine() 651 return DAG.getNode(LoongArchISD::BSTRINS, DL, ValTy, N0, in performORCombine() 675 return DAG.getNode(LoongArchISD::BSTRINS, DL, ValTy, N0, in performORCombine() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 914 InstructionCost SystemZTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument 920 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost() 922 if (!ValTy->isVectorTy()) { in getCmpSelInstrCost() 927 unsigned ScalarBits = ValTy->getScalarSizeInBits(); in getCmpSelInstrCost() 936 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost() 941 if (ValTy->isFloatingPointTy()) in getCmpSelInstrCost() 947 unsigned VF = cast<FixedVectorType>(ValTy)->getNumElements(); in getCmpSelInstrCost() 976 unsigned NumVecs_cmp = getNumVectorRegs(ValTy); in getCmpSelInstrCost() 990 getVectorBitmaskConversionCost(CmpOpTy, ValTy); in getCmpSelInstrCost() 992 return getNumVectorRegs(ValTy) /*vsel*/ + PackCost; in getCmpSelInstrCost() [all …]
|
| /llvm-project-15.0.7/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,
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64LegalizerInfo.cpp | 291 const LLT &ValTy = Query.Types[0]; in AArch64LegalizerInfo() local 292 if (!ValTy.isVector()) in AArch64LegalizerInfo() 294 const LLT EltTy = ValTy.getElementType(); in AArch64LegalizerInfo() 1088 const LLT ValTy = MRI.getType(ValReg); in legalizeLoadStore() local 1090 if (ValTy == LLT::scalar(128)) { in legalizeLoadStore() 1120 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() || in legalizeLoadStore() 1121 ValTy.getElementType().getAddressSpace() != 0) { in legalizeLoadStore() 1126 unsigned PtrSize = ValTy.getElementType().getSizeInBits(); in legalizeLoadStore() 1127 const LLT NewTy = LLT::vector(ValTy.getElementCount(), PtrSize); in legalizeLoadStore() 1170 LLT ValTy = MRI.getType(Dst); in legalizeVaArg() local [all …]
|
| H A D | AArch64PostLegalizerCombiner.cpp | 300 LLT ValTy = MRI.getType(Store.getValueReg()); in matchSplitStoreZero128() local 301 if (!ValTy.isVector() || ValTy.getSizeInBits() != 128) in matchSplitStoreZero128() 303 if (ValTy.getSizeInBits() != Store.getMemSizeInBits()) in matchSplitStoreZero128()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 672 const LLT ValTy(ValVT); in handleAssignments() local 673 const LLT NewLLT = Handler.isIncomingArgumentHandler() ? LocTy : ValTy; in handleAssignments() 701 if (!Handler.isIncomingArgumentHandler() && OrigTy != ValTy) { in handleAssignments() 704 ValTy, extendOpFromFlags(Args[i].Flags[0])); in handleAssignments() 1068 LLT ValTy(ValVT); in getStackValueStoreType() local 1074 ValTy.getScalarSizeInBits()); in getStackValueStoreType() 1076 return LLT::vector(ValTy.getElementCount(), PtrTy); in getStackValueStoreType() 1080 return ValTy; in getStackValueStoreType() 1114 LLT ValTy{VA.getValVT()}; in extendRegister() local 1116 if (LocTy.getSizeInBits() == ValTy.getSizeInBits()) in extendRegister() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVDialect.cpp | 144 template <typename ValTy> 145 static Optional<ValTy> parseAndVerify(SPIRVDialect const &dialect, 441 template <typename ValTy> 442 static Optional<ValTy> parseAndVerify(SPIRVDialect const &dialect, in parseAndVerify() 450 auto val = spirv::symbolizeEnum<ValTy>(enumSpec); in parseAndVerify()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 2127 if (isa<FixedVectorType>(ValTy) && ISD == ISD::SELECT) { in getCmpSelInstrCost() 2150 auto LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost() 2168 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost() 2640 unsigned Opcode, VectorType *ValTy, TTI::TargetCostKind CostKind) { in getArithmeticReductionCostSVE() argument 2644 Type *LegalVTy = EVT(LT.second).getTypeForEVT(ValTy->getContext()); in getArithmeticReductionCostSVE() 2669 if (auto *FixedVTy = dyn_cast<FixedVectorType>(ValTy)) { in getArithmeticReductionCost() 2680 auto *VTy = cast<ScalableVectorType>(ValTy); in getArithmeticReductionCost() 2687 if (isa<ScalableVectorType>(ValTy)) in getArithmeticReductionCost() 2688 return getArithmeticReductionCostSVE(Opcode, ValTy, CostKind); in getArithmeticReductionCost() 2744 auto *ValVTy = cast<FixedVectorType>(ValTy); in getArithmeticReductionCost() [all …]
|
| H A D | AArch64TargetTransformInfo.h | 184 VectorType *ValTy, 201 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGAtomic.cpp | 787 CharUnits Align = CGF.getContext().getTypeAlignInChars(ValTy); in AddDirectArgument() 789 ValTy = in AddDirectArgument() 795 CGF.getContext().getPointerType(ValTy), in AddDirectArgument() 798 Args.add(RValue::get(Val), ValTy); in AddDirectArgument() 1532 auto *ValTy = AsValue in ConvertIntToValueOrAtomic() local 1535 if (ValTy->isIntegerTy()) { in ConvertIntToValueOrAtomic() 1536 assert(IntVal->getType() == ValTy && "Different integer types."); in ConvertIntToValueOrAtomic() 1538 } else if (ValTy->isPointerTy()) in ConvertIntToValueOrAtomic() 1539 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy)); in ConvertIntToValueOrAtomic() 1540 else if (llvm::CastInst::isBitCastable(IntVal->getType(), ValTy)) in ConvertIntToValueOrAtomic() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 353 Type *ValTy = Ptr->getType()->isOpaquePointerTy() in Act() local 359 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act() 362 Value *Val = getRandomValue(ValTy); in Act()
|