Home
last modified time | relevance | path

Searched refs:ExtTy (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTypePromotion.cpp114 IntegerType *ExtTy = nullptr; member in __anon2bc3f0470111::IRPromoter
135 ExtTy = IntegerType::get(Ctx, PromotedWidth); in IRPromoter()
136 assert(OrigTy->getPrimitiveSizeInBits() < ExtTy->getPrimitiveSizeInBits() in IRPromoter()
482 assert(V->getType() != ExtTy && "zext already extends to i32"); in ExtendSources()
488 Value *ZExt = Builder.CreateZExt(V, ExtTy); in ExtendSources()
533 if ((Op->getType() == ExtTy) || !isa<IntegerType>(Op->getType())) in PromoteTree()
537 Constant *NewConst = ConstantExpr::getZExt(Const, ExtTy); in PromoteTree()
540 I->setOperand(i, UndefValue::get(ExtTy)); in PromoteTree()
545 I->mutateType(ExtTy); in PromoteTree()
620 if (ZExt->getDestTy() != ExtTy) in Cleanup()
[all …]
DCodeGenPrepare.cpp3704 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in addPromotedInst() local
3709 if (It->second.getInt() == ExtTy) in addPromotedInst()
3715 ExtTy = BothExtension; in addPromotedInst()
3717 PromotedInsts[ExtOpnd] = TypeIsSExt(ExtOpnd->getType(), ExtTy); in addPromotedInst()
3727 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in getOrigType() local
3729 if (It != PromotedInsts.end() && It->second.getInt() == ExtTy) in getOrigType()
3939 Type *ExtTy = Ext->getType(); in getAction() local
3944 if (!ExtOpnd || !canGetThrough(ExtOpnd, ExtTy, PromotedInsts, IsSExt)) in getAction()
3961 if (!ExtOpnd->hasOneUse() && !TLI.isTruncateFree(ExtTy, ExtOpnd->getType())) in getAction()
5178 Type *ExtTy = FirstUser->getType(); in hasSameExtUse() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h1375 Type *ExtTy = RetTy->getWithNewBitWidth(ExtSize); variable
1381 Cost += 2 * ConcreteTTI->getCastInstrCost(ExtOp, ExtTy, RetTy);
1382 Cost += ConcreteTTI->getArithmeticInstrCost(Instruction::Mul, ExtTy);
1384 2 * ConcreteTTI->getCastInstrCost(Instruction::Trunc, RetTy, ExtTy);
1439 Type *ExtTy = MulTy->getWithNewBitWidth(ExtSize); variable
1445 Cost += 2 * ConcreteTTI->getCastInstrCost(ExtOp, ExtTy, MulTy);
1446 Cost += ConcreteTTI->getArithmeticInstrCost(Instruction::Mul, ExtTy);
1448 2 * ConcreteTTI->getCastInstrCost(Instruction::Trunc, MulTy, ExtTy);
DSelectionDAGNodes.h576 uint16_t ExtTy : 2; // enum ISD::LoadExtType
2230 LoadSDNodeBits.ExtTy = ETy;
2239 return static_cast<ISD::LoadExtType>(LoadSDNodeBits.ExtTy);
2335 LoadSDNodeBits.ExtTy = ETy;
2340 return static_cast<ISD::LoadExtType>(LoadSDNodeBits.ExtTy);
DTargetLowering.h1362 virtual bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy, in shouldReduceLoadWidth() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelLowering.h121 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy, in shouldReduceLoadWidth() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp447 MVT ExtTy = ty(ExtVec); in buildHvxVectorReg() local
448 unsigned ExtLen = ExtTy.getVectorNumElements(); in buildHvxVectorReg()
473 SDValue S = DAG.getVectorShuffle(ExtTy, dl, ExtVec, in buildHvxVectorReg()
474 DAG.getUNDEF(ExtTy), Mask); in buildHvxVectorReg()
1290 MVT ExtTy = typeExtElem(ResTy, 2); in LowerHvxMul() local
1293 SDValue M = getInstr(MpyOpc, dl, ExtTy, {Vs, Vt}, DAG); in LowerHvxMul()
1347 MVT ExtTy = typeExtElem(ResTy, 2); in LowerHvxMulh() local
1351 SDValue M = getInstr(MpyOpc, dl, ExtTy, {Vs, Vt}, DAG); in LowerHvxMulh()
DHexagonISelLowering.h316 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy,
DHexagonISelLowering.cpp3280 ISD::LoadExtType ExtTy, EVT NewVT) const { in shouldReduceLoadWidth() argument
3282 if (!TargetLoweringBase::shouldReduceLoadWidth(Load, ExtTy, NewVT)) in shouldReduceLoadWidth()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h394 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy,
DAArch64ISelLowering.cpp2756 const EVT &ExtTy, in addRequiredExtensionForVectorMULL() argument
2761 assert(ExtTy.is128BitVector() && "Unexpected extension size"); in addRequiredExtensionForVectorMULL()
8809 ISD::LoadExtType ExtTy, in shouldReduceLoadWidth() argument
8812 if (!TargetLoweringBase::shouldReduceLoadWidth(Load, ExtTy, NewVT)) in shouldReduceLoadWidth()
8817 if (ExtTy != ISD::NON_EXTLOAD) in shouldReduceLoadWidth()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp3217 IntegerType *ExtTy = in getUDivExpr() local
3226 getZeroExtendExpr(AR, ExtTy) == in getUDivExpr()
3227 getAddRecExpr(getZeroExtendExpr(AR->getStart(), ExtTy), in getUDivExpr()
3228 getZeroExtendExpr(Step, ExtTy), in getUDivExpr()
3240 getZeroExtendExpr(AR, ExtTy) == in getUDivExpr()
3241 getAddRecExpr(getZeroExtendExpr(AR->getStart(), ExtTy), in getUDivExpr()
3242 getZeroExtendExpr(Step, ExtTy), in getUDivExpr()
3255 Operands.push_back(getZeroExtendExpr(Op, ExtTy)); in getUDivExpr()
3256 if (getZeroExtendExpr(M, ExtTy) == getMulExpr(Operands)) in getUDivExpr()
3288 Operands.push_back(getZeroExtendExpr(Op, ExtTy)); in getUDivExpr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp1805 Type *ExtTy = Type::getInt32Ty(C); in UpgradeIntrinsicCall() local
1807 ExtTy = Type::getInt64Ty(C); in UpgradeIntrinsicCall()
1809 ExtTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall()
1810 Rep = Builder.CreateZExt(CI->getArgOperand(0), ExtTy); in UpgradeIntrinsicCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.h1133 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy,
DX86InstrSSE.td4972 multiclass SS41I_pmovx_avx2_patterns<string OpcPrefix, string ExtTy,
4996 def : Pat<(v16i16 (!cast<PatFrag>(ExtTy#"extloadvi8") addr:$src)),
5004 def : Pat<(v8i32 (!cast<PatFrag>(ExtTy#"extloadvi8") addr:$src)),
5006 def : Pat<(v4i64 (!cast<PatFrag>(ExtTy#"extloadvi8") addr:$src)),
5009 def : Pat<(v8i32 (!cast<PatFrag>(ExtTy#"extloadvi16") addr:$src)),
5011 def : Pat<(v4i64 (!cast<PatFrag>(ExtTy#"extloadvi16") addr:$src)),
5014 def : Pat<(v4i64 (!cast<PatFrag>(ExtTy#"extloadvi32") addr:$src)),
5047 multiclass SS41I_pmovx_patterns<string OpcPrefix, string ExtTy,
5068 def : Pat<(v8i16 (!cast<PatFrag>(ExtTy#"extloadvi8") addr:$src)),
5072 def : Pat<(v4i32 (!cast<PatFrag>(ExtTy#"extloadvi8") addr:$src)),
[all …]
DX86InstrAVX512.td9343 SDNode OpNode, SDNode InVecNode, string ExtTy,
9344 X86FoldableSchedWrite sched, PatFrag LdFrag = !cast<PatFrag>(ExtTy#"extloadvi8")> {
9362 SDNode OpNode, SDNode InVecNode, string ExtTy,
9363 X86FoldableSchedWrite sched, PatFrag LdFrag = !cast<PatFrag>(ExtTy#"extloadvi8")> {
9381 SDNode OpNode, SDNode InVecNode, string ExtTy,
9382 X86FoldableSchedWrite sched, PatFrag LdFrag = !cast<PatFrag>(ExtTy#"extloadvi8")> {
9400 SDNode OpNode, SDNode InVecNode, string ExtTy,
9401 X86FoldableSchedWrite sched, PatFrag LdFrag = !cast<PatFrag>(ExtTy#"extloadvi16")> {
9419 SDNode OpNode, SDNode InVecNode, string ExtTy,
9420 X86FoldableSchedWrite sched, PatFrag LdFrag = !cast<PatFrag>(ExtTy#"extloadvi16")> {
[all …]
DX86ISelLowering.cpp5024 ISD::LoadExtType ExtTy, in shouldReduceLoadWidth() argument
40521 static SDValue lowerX86CmpEqZeroToCtlzSrl(SDValue Op, EVT ExtTy, in lowerX86CmpEqZeroToCtlzSrl() argument
40533 return DAG.getZExtOrTrunc(Scc, dl, ExtTy); in lowerX86CmpEqZeroToCtlzSrl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp1816 AArch64_AM::ShiftExtendType ExtTy = AArch64_AM::LSL, in CreateReg() argument
1824 Op->Reg.ShiftExtend.Type = ExtTy; in CreateReg()
1835 AArch64_AM::ShiftExtendType ExtTy = AArch64_AM::LSL, in CreateVectorReg() argument
1841 auto Op = CreateReg(RegNum, Kind, S, E, Ctx, EqualsReg, ExtTy, ShiftAmount, in CreateVectorReg()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp636 ISD::LoadExtType ExtTy, in shouldReduceLoadWidth() argument
639 if (!TargetLoweringBase::shouldReduceLoadWidth(N, ExtTy, NewVT)) in shouldReduceLoadWidth()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7073 ISD::LoadExtType ExtTy, bool isExpanding) { in getMaskedLoad() argument
7084 dl.getIROrder(), VTs, AM, ExtTy, isExpanding, MemVT, MMO)); in getMaskedLoad()
7092 AM, ExtTy, isExpanding, MemVT, MMO); in getMaskedLoad()
DDAGCombiner.cpp16951 ISD::LoadExtType ExtTy = ResultVT.bitsGT(VecEltVT) ? in scalarizeExtractedVectorLoad() local
16953 if (!TLI.shouldReduceLoadWidth(OriginalLoad, ExtTy, VecEltVT)) in scalarizeExtractedVectorLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp8451 const EVT &ExtTy, in AddRequiredExtensionForVMULL() argument
8456 assert(ExtTy.is128BitVector() && "Unexpected extension size"); in AddRequiredExtensionForVMULL()