Home
last modified time | relevance | path

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

/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h108 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
109 bool isTruncateFree(EVT VT1, EVT VT2) const override;
DMSP430ISelLowering.cpp1159 bool MSP430TargetLowering::isTruncateFree(Type *Ty1, in isTruncateFree() function in MSP430TargetLowering
1167 bool MSP430TargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree() function in MSP430TargetLowering
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h135 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
136 bool isTruncateFree(EVT VT1, EVT VT2) const override;
DHexagonISelLowering.cpp1856 HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() function in HexagonTargetLowering
1865 bool HexagonTargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree() function in HexagonTargetLowering
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h327 bool isTruncateFree(Type *Ty1, Type *Ty2) const;
548 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) = 0;
665 bool isTruncateFree(Type *Ty1, Type *Ty2) override { in isTruncateFree() function
666 return Impl.isTruncateFree(Ty1, Ty2); in isTruncateFree()
DTargetTransformInfoImpl.h228 bool isTruncateFree(Type *Ty1, Type *Ty2) { return false; } in isTruncateFree() function
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h147 bool isTruncateFree(Type *Ty1, Type *Ty2) { in isTruncateFree() function
148 return getTLI()->isTruncateFree(Ty1, Ty2); in isTruncateFree()
210 if (TLI->isTruncateFree(OpTy, Ty)) in getOperationCost()
365 TLI->isTruncateFree(SrcLT.second, DstLT.second)) in getCastInstrCost()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.h234 bool isTruncateFree(Type *, Type *) const override;
235 bool isTruncateFree(EVT, EVT) const override;
DSystemZISelLowering.cpp391 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() function in SystemZTargetLowering
399 bool SystemZTargetLowering::isTruncateFree(EVT FromVT, EVT ToVT) const { in isTruncateFree() function in SystemZTargetLowering
638 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.h117 bool isTruncateFree(EVT Src, EVT Dest) const override;
118 bool isTruncateFree(Type *Src, Type *Dest) const override;
DAMDGPUISelLowering.cpp512 bool AMDGPUTargetLowering::isTruncateFree(EVT Source, EVT Dest) const { in isTruncateFree() function in AMDGPUTargetLowering
517 bool AMDGPUTargetLowering::isTruncateFree(Type *Source, Type *Dest) const { in isTruncateFree() function in AMDGPUTargetLowering
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp126 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() function in TargetTransformInfo
127 return TTIImpl->isTruncateFree(Ty1, Ty2); in isTruncateFree()
DScalarEvolutionExpander.cpp1729 && TTI->isTruncateFree(Phi->getType(), Phis.back()->getType())) { in replaceCongruentIVs()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h295 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
296 bool isTruncateFree(EVT VT1, EVT VT2) const override;
DAArch64ISelLowering.cpp6549 bool AArch64TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() function in AArch64TargetLowering
6556 bool AArch64TargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree() function in AArch64TargetLowering
/external/llvm/lib/Target/X86/
DX86ISelLowering.h741 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
742 bool isTruncateFree(EVT VT1, EVT VT2) const override;
DX86ISelLowering.cpp17747 bool X86TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() function in X86TargetLowering
17778 bool X86TargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree() function in X86TargetLowering
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h561 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
562 bool isTruncateFree(EVT VT1, EVT VT2) const override;
DPPCISelLowering.cpp11111 bool PPCTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() function in PPCTargetLowering
11119 bool PPCTargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree() function in PPCTargetLowering
/external/llvm/include/llvm/Target/
DTargetLowering.h1483 virtual bool isTruncateFree(Type * /*Ty1*/, Type * /*Ty2*/) const { in isTruncateFree() function
1496 virtual bool isTruncateFree(EVT /*VT1*/, EVT /*VT2*/) const { in isTruncateFree() function
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2417 if (!ExtOpnd->hasOneUse() && !TLI.isTruncateFree(ExtTy, ExtOpnd->getType())) in getAction()
3681 !TLI->isTruncateFree(I->getType(), LI->getType())) { in MoveExtToFormExtLoad()
3720 if (TLI && !TLI->isTruncateFree(I->getType(), Src->getType())) in OptimizeExtUses()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2571 !TLI.isTruncateFree(Op0VT, VT)) && in SimplifyBinOpWithSameOpcodeHands()
4402 TLI.isTruncateFree(VT, TruncVT)) { in visitSRA()
5359 bool isTruncFree = TLI.isTruncateFree(N->getValueType(0), N0.getValueType()); in ExtendUsesToFormExtLoad()
5877 (!TLI.isTruncateFree(N0.getOperand(0).getOperand(0).getValueType(), in visitZERO_EXTEND()
6112 !TLI.isTruncateFree(N0.getOperand(0).getOperand(0).getValueType(), in visitANY_EXTEND()
6632 TLI.isTruncateFree(SrcVT, VT)) { in visitTRUNCATE()
9158 if (!TLI.isTruncateFree(LS.Inst->getValueType(0), in addSliceGain()
11056 if (NVT.bitsLT(LVT) && !TLI.isTruncateFree(LVT, NVT)) in visitEXTRACT_VECTOR_ELT()
DTargetLowering.cpp351 if (TLI.isTruncateFree(Op.getValueType(), SmallVT) && in ShrinkDemandedOp()
DSelectionDAG.cpp4279 TLI.isTruncateFree(LargestVT, VT)) in getMemsetStores()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp3655 if (SrcTy != DstTy && TTI.isTruncateFree(SrcTy, DstTy)) { in GenerateTruncates()