Home
last modified time | relevance | path

Searched refs:getTypeForEVT (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DScalableVectorMVTsTest.cpp117 Type *Ty = Enxv4f64.getTypeForEVT(Ctx); in TEST()
121 ASSERT_EQ(Enxv4f64.getScalarType().getTypeForEVT(Ctx), in TEST()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DValueTypes.cpp48 VectorType::get(VT.getTypeForEVT(Context), NumElements, IsScalable); in getExtendedVectorVT()
55 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), EC); in getExtendedVectorVT()
182 Type *EVT::getTypeForEVT(LLVMContext &Context) const { in getTypeForEVT() function in EVT
H A DTargetLoweringBase.cpp1718 Type *Ty = VT.getTypeForEVT(Context); in allowsMemoryAccessForAlignment()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp251 SplitArgs.emplace_back(OrigArg.Regs[0], SplitVTs[0].getTypeForEVT(Ctx), in splitToValueTypes()
263 Type *SplitTy = SplitVTs[i].getTypeForEVT(Ctx); in splitToValueTypes()
884 ArgInfo DemoteArg(DemoteReg, ValueVTs[0].getTypeForEVT(PtrTy->getContext()), in insertSRetIncomingArgument()
939 Type *PartTy = EVT(RegVT).getTypeForEVT(Context); in getReturnInfo()
H A DIRTranslator.cpp2474 DL->getABITypeAlign(Info.memVT.getTypeForEVT(F->getContext()))); in translateCall()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DValueTypes.h462 Type *getTypeForEVT(LLVMContext &Context) const;
H A DTargetLowering.h1473 EltTy = PointerTy.getTypeForEVT(Ty->getContext());
1491 Elm = PointerTy.getTypeForEVT(Ty->getContext());
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp318 Type *SType = SVT.getTypeForEVT(*DAG.getContext()); in ExpandConstantFP()
1410 Op.getValueType().getTypeForEVT(*DAG.getContext()))); in ExpandExtractFromVectorThroughStack()
1740 Type *DestType = DestVT.getTypeForEVT(*DAG.getContext()); in EmitStackConvert()
1752 SrcOp.getValueType().getTypeForEVT(*DAG.getContext())); in EmitStackConvert()
1949 CV.push_back(ConstantInt::get(EltVT.getTypeForEVT(*DAG.getContext()), in ExpandBUILD_VECTOR()
1954 Type *OpNTy = EltVT.getTypeForEVT(*DAG.getContext()); in ExpandBUILD_VECTOR()
2025 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
2036 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
2177 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
2183 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
[all …]
H A DSelectionDAG.cpp1225 VT.getTypeForEVT(*getContext()); in getEVTAlign()
2256 Type *Ty = VT.getTypeForEVT(*getContext()); in getReducedAlign()
2273 Ty = IntermediateVT.getTypeForEVT(*getContext()); in getReducedAlign()
2296 Type *Ty = VT.getTypeForEVT(*getContext()); in CreateStackTemporary()
2311 Type *Ty1 = VT1.getTypeForEVT(*getContext()); in CreateStackTemporary()
2312 Type *Ty2 = VT2.getTypeForEVT(*getContext()); in CreateStackTemporary()
6663 Type *Ty = VT.getTypeForEVT(*DAG.getContext()); in getMemsetStringVal()
6793 Type *Ty = MemOps[0].getTypeForEVT(C); in getMemcpyLoadsAndStores()
6987 Type *Ty = MemOps[0].getTypeForEVT(C); in getMemmoveLoadsAndStores()
7096 Type *Ty = MemOps[0].getTypeForEVT(*DAG.getContext()); in getMemsetStores()
[all …]
H A DLegalizeIntegerTypes.cpp4069 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandExtIntRes_DIVREM()
4090 .getTypeForEVT(*DAG.getContext()) in ExpandExtIntRes_DIVREM()
4418 Type *RetTy = VT.getTypeForEVT(*DAG.getContext()); in ExpandIntRes_XMULO()
4420 Type *PtrTy = PtrVT.getTypeForEVT(*DAG.getContext()); in ExpandIntRes_XMULO()
4463 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandIntRes_XMULO()
H A DTargetLowering.cpp158 Entry.Ty = Entry.Node.getValueType().getTypeForEVT(*DAG.getContext()); in makeLibCall()
175 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in makeLibCall()
7653 const Type *FloatTy = ScalarFloatVT.getTypeForEVT(*DAG.getContext()); in expandIS_FPCLASS()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64CallLowering.cpp381 ArgInfo CurArgInfo = ArgInfo{CurVReg, SplitEVTs[i].getTypeForEVT(Ctx), 0}; in lowerReturn()
401 CurArgInfo.Ty = EVT(NewVT).getTypeForEVT(Ctx); in lowerReturn()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp351 Type *LegalVTy = EVT(LT.second).getTypeForEVT(RetTy->getContext()); in getIntrinsicInstrCost()
2627 Type *LegalVTy = EVT(LT.second).getTypeForEVT(Ty->getContext()); in getMinMaxReductionCost()
2644 Type *LegalVTy = EVT(LT.second).getTypeForEVT(ValTy->getContext()); in getArithmeticReductionCostSVE()
2782 Type *LegalVTy = EVT(LT.second).getTypeForEVT(Tp->getContext()); in getSpliceCost()
2787 Type *PromotedVTy = EVT(PromotedVT).getTypeForEVT(Tp->getContext()); in getSpliceCost()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUCallLowering.cpp309 ArgInfo RetInfo(Reg, VT.getTypeForEVT(Ctx), 0); in lowerReturnVal()
325 RetInfo.Ty = ExtVT.getTypeForEVT(Ctx); in lowerReturnVal()
H A DR600ISelLowering.cpp764 PointerType * PtrType = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), in LowerImplicitParameter()
H A DSIISelLowering.cpp6094 Type *Ty = PtrVT.getTypeForEVT(*DAG.getContext()); in LowerGlobalAddress()
6676 DataLayout.getABITypeAlign(VT.getTypeForEVT(*DAG.getContext())); in lowerSBuffer()
6843 Type *Type = VT.getTypeForEVT(*DAG.getContext()); in LowerINTRINSIC_WO_CHAIN()
9394 Type *Ty = MemVT.getTypeForEVT(*DCI.DAG.getContext()); in performSHLPtrCombine()
/llvm-project-15.0.7/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp476 Type *Ty = VT.getTypeForEVT(*DAG.getContext()); in LowerDivRem()
499 Entry.Ty = Value.getValueType().getTypeForEVT(*DAG.getContext()); in LowerDivRem()
1123 auto evt = EVT(VT).getTypeForEVT(CCInfo.getContext()); in analyzeArguments()
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVEISelLowering.cpp1651 Entry.Ty = Entry.Node.getValueType().getTypeForEVT(*DAG.getContext()); in lowerDYNAMIC_STACKALLOC()
1655 Entry.Ty = Entry.Node.getValueType().getTypeForEVT(*DAG.getContext()); in lowerDYNAMIC_STACKALLOC()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2364 TD.getPrefTypeAlign(ValVT.getTypeForEVT(*DAG.getContext())); in LowerSTOREVector()
2593 EltVT.getTypeForEVT(F->getContext()), ADDRESS_SPACE_PARAM)); in LowerFormalArguments()
4957 Align PrefAlign = TD.getPrefTypeAlign(ResVT.getTypeForEVT(*DAG.getContext())); in ReplaceLoadVector()
/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2235 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerF128_LibCallArg()
2266 Type *RetTy = Op.getValueType().getTypeForEVT(*DAG.getContext()); in LowerF128Op()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp1117 Type *Ty = VT.getTypeForEVT(*DAG.getContext()); in LowerCall()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp1898 Entry.Ty = Entry.Node.getValueType().getTypeForEVT(*DAG.getContext()); in makeExternalCall()
1907 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in makeExternalCall()
6765 Type *OutLLVMTy = OutVT.getTypeForEVT(Ctx); in combineINT_TO_FP()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2084 Info.align = DL.getABITypeAlign(Info.memVT.getTypeForEVT(Cont)); in getTgtMemIntrinsic()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp15360 Type *Ty = MemVT.getTypeForEVT(*DAG.getContext()); in PerformDAGCombine()
16724 MF.getFunction(), VT.getTypeForEVT(MF.getFunction().getContext())); in isFMAFasterThanFMulAndFAdd()
17832 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); in lowerToLibCall()
17840 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in lowerToLibCall()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp9777 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerFSINCOS()
9868 Arg.Ty = Arg.Node.getValueType().getTypeForEVT(*DAG.getContext()); in LowerWindowsDIVLibCall()
9875 .setCallee(CallingConv::ARM_AAPCS_VFP, VT.getTypeForEVT(*DAG.getContext()), in LowerWindowsDIVLibCall()
20404 Type *ArgTy = ArgVT.getTypeForEVT(*Context); in getDivRemArgList()
20426 Type *Ty = VT.getTypeForEVT(*DAG.getContext()); in LowerDivRem()

12