Home
last modified time | relevance | path

Searched refs:NarrowTy (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp268 LLT NarrowTy) { in narrowScalar() argument
276 uint64_t NarrowSize = NarrowTy.getSizeInBits(); in narrowScalar()
291 MIRBuilder.buildUndef(NarrowTy)->getOperand(0).getReg()); in narrowScalar()
302 int NumParts = SizeOp0 / NarrowTy.getSizeInBits(); in narrowScalar()
305 extractParts(MI.getOperand(1).getReg(), NarrowTy, NumParts, Src1Regs); in narrowScalar()
306 extractParts(MI.getOperand(2).getReg(), NarrowTy, NumParts, Src2Regs); in narrowScalar()
312 unsigned DstReg = MRI.createGenericVirtualRegister(NarrowTy); in narrowScalar()
339 extractParts(MI.getOperand(1).getReg(), NarrowTy, NumParts, SrcRegs); in narrowScalar()
350 } else if (SrcStart == OpStart && NarrowTy == MRI.getType(OpReg)) { in narrowScalar()
392 extractParts(MI.getOperand(1).getReg(), NarrowTy, NumParts, SrcRegs); in narrowScalar()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerHelper.h67 LegalizeResult narrowScalar(MachineInstr &MI, unsigned TypeIdx, LLT NarrowTy);
81 LLT NarrowTy);
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp373 auto *NarrowTy = cast<IntegerType>(LHS->getType()); in eliminateOverflowIntrinsic() local
375 IntegerType::get(NarrowTy->getContext(), NarrowTy->getBitWidth() * 2); in eliminateOverflowIntrinsic()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp450 auto *NarrowTy = cast<IntegerType>(LHS->getType()); in eliminateOverflowIntrinsic() local
452 IntegerType::get(NarrowTy->getContext(), NarrowTy->getBitWidth() * 2); in eliminateOverflowIntrinsic()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4104 Type *NarrowTy; in hasSameExtUse() local
4108 NarrowTy = CurTy; in hasSameExtUse()
4111 NarrowTy = ExtTy; in hasSameExtUse()
4115 if (!TLI.isZExtFree(NarrowTy, LargeTy)) in hasSameExtUse()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4776 Type *NarrowTy; in hasSameExtUse() local
4780 NarrowTy = CurTy; in hasSameExtUse()
4783 NarrowTy = ExtTy; in hasSameExtUse()
4787 if (!TLI.isZExtFree(NarrowTy, LargeTy)) in hasSameExtUse()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp4919 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local
4922 return DAG.getTargetExtractSubreg(AArch64::dsub, DL, NarrowTy, V128Reg); in NarrowVector()
8206 MVT NarrowTy = N.getSimpleValueType(); in tryExtendDUPToExtractHigh() local
8207 if (!NarrowTy.is64BitVector()) in tryExtendDUPToExtractHigh()
8210 MVT ElementTy = NarrowTy.getVectorElementType(); in tryExtendDUPToExtractHigh()
8211 unsigned NumElems = NarrowTy.getVectorNumElements(); in tryExtendDUPToExtractHigh()
8215 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, NarrowTy, in tryExtendDUPToExtractHigh()
DAArch64ISelDAGToDAG.cpp1253 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local
1255 return DAG.getTargetExtractSubreg(AArch64::dsub, SDLoc(V128Reg), NarrowTy, in NarrowVector()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5690 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local
5693 return DAG.getTargetExtractSubreg(AArch64::dsub, DL, NarrowTy, V128Reg); in NarrowVector()
9371 MVT NarrowTy = N.getSimpleValueType(); in tryExtendDUPToExtractHigh() local
9372 if (!NarrowTy.is64BitVector()) in tryExtendDUPToExtractHigh()
9375 MVT ElementTy = NarrowTy.getVectorElementType(); in tryExtendDUPToExtractHigh()
9376 unsigned NumElems = NarrowTy.getVectorNumElements(); in tryExtendDUPToExtractHigh()
9380 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, NarrowTy, in tryExtendDUPToExtractHigh()
DAArch64ISelDAGToDAG.cpp1321 MVT NarrowTy = MVT::getVectorVT(EltTy, WideSize / 2); in NarrowVector() local
1323 return DAG.getTargetExtractSubreg(AArch64::dsub, SDLoc(V128Reg), NarrowTy, in NarrowVector()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp2627 IntegerType *NarrowTy = Type::getIntNTy(SI.getContext(), SliceSize * 8); in visitStoreInst() local
2628 V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset, in visitStoreInst()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2515 IntegerType *NarrowTy = Type::getIntNTy(SI.getContext(), SliceSize * 8); in visitStoreInst() local
2516 V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset, in visitStoreInst()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp3576 llvm::Type *NarrowTy = in EmitCommonNeonBuiltinExpr() local
3578 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr()
3586 llvm::Type *NarrowTy = in EmitCommonNeonBuiltinExpr() local
3588 llvm::Type *Tys[2] = { Ty, NarrowTy }; in EmitCommonNeonBuiltinExpr()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp7185 auto *NarrowTy = IntegerType::get(getContext(), NarrowWidth); in howFarToZero() local
7189 getZeroExtendExpr(getTruncateExpr(ModuloResult, NarrowTy), WideTy); in howFarToZero()