/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TypePromotion.cpp | 114 IntegerType *ExtTy = nullptr; member in __anonccd749c10111::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 …]
|
D | CodeGenPrepare.cpp | 3704 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 …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | TypePromotion.cpp | 115 IntegerType *ExtTy = nullptr; member in __anon39a3dc2d0111::IRPromoter 136 ExtTy = IntegerType::get(Ctx, PromotedWidth); in IRPromoter() 138 ExtTy->getPrimitiveSizeInBits().getFixedSize() && in IRPromoter() 484 assert(V->getType() != ExtTy && "zext already extends to i32"); in ExtendSources() 490 Value *ZExt = Builder.CreateZExt(V, ExtTy); in ExtendSources() 535 if ((Op->getType() == ExtTy) || !isa<IntegerType>(Op->getType())) in PromoteTree() 539 Constant *NewConst = ConstantExpr::getZExt(Const, ExtTy); in PromoteTree() 542 I->setOperand(i, UndefValue::get(ExtTy)); in PromoteTree() 547 I->mutateType(ExtTy); in PromoteTree() 622 if (ZExt->getDestTy() != ExtTy) in Cleanup() [all …]
|
D | CodeGenPrepare.cpp | 3852 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in addPromotedInst() local 3857 if (It->second.getInt() == ExtTy) in addPromotedInst() 3863 ExtTy = BothExtension; in addPromotedInst() 3865 PromotedInsts[ExtOpnd] = TypeIsSExt(ExtOpnd->getType(), ExtTy); in addPromotedInst() 3875 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in getOrigType() local 3877 if (It != PromotedInsts.end() && It->second.getInt() == ExtTy) in getOrigType() 4087 Type *ExtTy = Ext->getType(); in getAction() local 4092 if (!ExtOpnd || !canGetThrough(ExtOpnd, ExtTy, PromotedInsts, IsSExt)) in getAction() 4109 if (!ExtOpnd->hasOneUse() && !TLI.isTruncateFree(ExtTy, ExtOpnd->getType())) in getAction() 5464 Type *ExtTy = FirstUser->getType(); in hasSameExtUse() local [all …]
|
/external/llvm-project/llvm/unittests/IR/ |
D | VectorTypesTest.cpp | 92 auto *ExtTy = dyn_cast<FixedVectorType>( in TEST() local 94 EXPECT_VTY_EQ(ExtTy, V8Int32Ty); in TEST() 95 EXPECT_EQ(ExtTy->getNumElements(), 8U); in TEST() 96 EXPECT_EQ(ExtTy->getElementType()->getScalarSizeInBits(), 32U); in TEST() 187 auto *ExtTy = dyn_cast<ScalableVectorType>( in TEST() local 189 EXPECT_VTY_EQ(ExtTy, ScV8Int32Ty); in TEST() 190 EXPECT_EQ(ExtTy->getMinNumElements(), 8U); in TEST() 191 EXPECT_EQ(ExtTy->getElementType()->getScalarSizeInBits(), 32U); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 1375 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);
|
D | SelectionDAGNodes.h | 576 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);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFISelLowering.h | 121 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy, in shouldReduceLoadWidth() argument
|
/external/llvm-project/llvm/lib/Target/BPF/ |
D | BPFISelLowering.h | 120 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy, in shouldReduceLoadWidth() argument
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 1620 Type *ExtTy = RetTy->getWithNewBitWidth(ExtSize); in getTypeBasedIntrinsicInstrCost() local 1627 Cost += 2 * thisT()->getCastInstrCost(ExtOp, ExtTy, RetTy, CCH, CostKind); in getTypeBasedIntrinsicInstrCost() 1629 thisT()->getArithmeticInstrCost(Instruction::Mul, ExtTy, CostKind); in getTypeBasedIntrinsicInstrCost() 1630 Cost += 2 * thisT()->getCastInstrCost(Instruction::Trunc, RetTy, ExtTy, in getTypeBasedIntrinsicInstrCost() 1689 Type *ExtTy = MulTy->getWithNewBitWidth(ExtSize); in getTypeBasedIntrinsicInstrCost() local 1696 Cost += 2 * thisT()->getCastInstrCost(ExtOp, ExtTy, MulTy, CCH, CostKind); in getTypeBasedIntrinsicInstrCost() 1698 thisT()->getArithmeticInstrCost(Instruction::Mul, ExtTy, CostKind); in getTypeBasedIntrinsicInstrCost() 1699 Cost += 2 * thisT()->getCastInstrCost(Instruction::Trunc, MulTy, ExtTy, in getTypeBasedIntrinsicInstrCost()
|
D | SelectionDAGNodes.h | 519 uint16_t ExtTy : 2; // enum ISD::LoadExtType 2245 LoadSDNodeBits.ExtTy = ETy; 2254 return static_cast<ISD::LoadExtType>(LoadSDNodeBits.ExtTy); 2347 LoadSDNodeBits.ExtTy = ETy; 2352 return static_cast<ISD::LoadExtType>(LoadSDNodeBits.ExtTy); 2458 LoadSDNodeBits.ExtTy = ETy; 2464 return ISD::LoadExtType(LoadSDNodeBits.ExtTy);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLoweringHVX.cpp | 447 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()
|
D | HexagonISelLowering.h | 316 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy,
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 2931 Type *ExtTy = Ext->getType(); in getAction() local 2936 if (!ExtOpnd || !canGetThrough(ExtOpnd, ExtTy, PromotedInsts, IsSExt)) in getAction() 2953 if (!ExtOpnd->hasOneUse() && !TLI.isTruncateFree(ExtTy, ExtOpnd->getType())) in getAction() 4080 Type *ExtTy = FirstUser->getType(); in hasSameExtUse() local 4087 if (CurTy == ExtTy) in hasSameExtUse() 4106 if (ExtTy->getScalarType()->getIntegerBitWidth() > in hasSameExtUse() 4109 LargeTy = ExtTy; in hasSameExtUse() 4111 NarrowTy = ExtTy; in hasSameExtUse()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonISelLoweringHVX.cpp | 574 MVT ExtTy = ty(ExtVec); in buildHvxVectorReg() local 575 unsigned ExtLen = ExtTy.getVectorNumElements(); in buildHvxVectorReg() 600 SDValue S = DAG.getVectorShuffle(ExtTy, dl, ExtVec, in buildHvxVectorReg() 601 DAG.getUNDEF(ExtTy), Mask); in buildHvxVectorReg() 1483 MVT ExtTy = typeExtElem(ResTy, 2); in LowerHvxMulh() local 1487 SDValue M = getInstr(MpyOpc, dl, ExtTy, {Vs, Vt}, DAG); in LowerHvxMulh()
|
D | HexagonISelLowering.h | 328 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy,
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 930 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy,
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 2697 IntegerType *ExtTy = in getUDivExpr() local 2706 getZeroExtendExpr(AR, ExtTy) == in getUDivExpr() 2707 getAddRecExpr(getZeroExtendExpr(AR->getStart(), ExtTy), in getUDivExpr() 2708 getZeroExtendExpr(Step, ExtTy), in getUDivExpr() 2720 getZeroExtendExpr(AR, ExtTy) == in getUDivExpr() 2721 getAddRecExpr(getZeroExtendExpr(AR->getStart(), ExtTy), in getUDivExpr() 2722 getZeroExtendExpr(Step, ExtTy), in getUDivExpr() 2735 Operands.push_back(getZeroExtendExpr(Op, ExtTy)); in getUDivExpr() 2736 if (getZeroExtendExpr(M, ExtTy) == getMulExpr(Operands)) in getUDivExpr() 2753 Operands.push_back(getZeroExtendExpr(Op, ExtTy)); in getUDivExpr() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 394 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy,
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 530 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 3217 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 …]
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 1259 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy,
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 3119 IntegerType *ExtTy = in getUDivExpr() local 3128 getZeroExtendExpr(AR, ExtTy) == in getUDivExpr() 3129 getAddRecExpr(getZeroExtendExpr(AR->getStart(), ExtTy), in getUDivExpr() 3130 getZeroExtendExpr(Step, ExtTy), in getUDivExpr() 3142 getZeroExtendExpr(AR, ExtTy) == in getUDivExpr() 3143 getAddRecExpr(getZeroExtendExpr(AR->getStart(), ExtTy), in getUDivExpr() 3144 getZeroExtendExpr(Step, ExtTy), in getUDivExpr() 3172 Operands.push_back(getZeroExtendExpr(Op, ExtTy)); in getUDivExpr() 3173 if (getZeroExtendExpr(M, ExtTy) == getMulExpr(Operands)) in getUDivExpr() 3205 Operands.push_back(getZeroExtendExpr(Op, ExtTy)); in getUDivExpr() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 1805 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 1133 bool shouldReduceLoadWidth(SDNode *Load, ISD::LoadExtType ExtTy,
|