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

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h109 /// isTruncateFree - Return true if it's free to truncate a value of type
112 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
113 bool isTruncateFree(EVT VT1, EVT VT2) const override;
119 /// registers. Also, if isTruncateFree(Ty2, Ty1) is true, this does not
H A DMSP430ISelLowering.cpp1392 bool MSP430TargetLowering::isTruncateFree(Type *Ty1, function in class:MSP430TargetLowering
1400 bool MSP430TargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { function in class:MSP430TargetLowering
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h73 bool isTruncateFree(Type *SrcTy, Type *DstTy) const override;
74 bool isTruncateFree(EVT SrcVT, EVT DstVT) const override;
H A DRISCVISelLowering.cpp312 bool RISCVTargetLowering::isTruncateFree(Type *SrcTy, Type *DstTy) const { function in class:RISCVTargetLowering
320 bool RISCVTargetLowering::isTruncateFree(EVT SrcVT, EVT DstVT) const { function in class:RISCVTargetLowering
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.h168 bool isTruncateFree(EVT Src, EVT Dest) const override;
169 bool isTruncateFree(Type *Src, Type *Dest) const override;
H A DAMDGPUISelLowering.cpp773 bool AMDGPUTargetLowering::isTruncateFree(EVT Source, EVT Dest) const { function in class:AMDGPUTargetLowering
782 bool AMDGPUTargetLowering::isTruncateFree(Type *Source, Type *Dest) const { function in class:AMDGPUTargetLowering
2982 // FIXME: This should go in generic DAG combiner with an isTruncateFree check,
2983 // but isTruncateFree is inaccurate for i16 now because of SALU vs. VALU
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h125 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
126 bool isTruncateFree(EVT VT1, EVT VT2) const override;
H A DHexagonISelLowering.cpp1898 bool HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { function in class:HexagonTargetLowering
1899 return isTruncateFree(EVT::getEVT(Ty1), EVT::getEVT(Ty2));
1902 bool HexagonTargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { function in class:HexagonTargetLowering
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h438 bool isTruncateFree(Type *, Type *) const override;
439 bool isTruncateFree(EVT, EVT) const override;
H A DSystemZISelLowering.cpp962 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { function in class:SystemZTargetLowering
970 bool SystemZTargetLowering::isTruncateFree(EVT FromVT, EVT ToVT) const { function in class:SystemZTargetLowering
1243 return isTruncateFree(FromType, ToType);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h645 bool isTruncateFree(Type *Ty1, Type *Ty2) const;
1251 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) = 0;
1570 bool isTruncateFree(Type *Ty1, Type *Ty2) override {
1571 return Impl.isTruncateFree(Ty1, Ty2);
H A DTargetTransformInfoImpl.h304 bool isTruncateFree(Type *Ty1, Type *Ty2) { return false; } function in class:llvm::TargetTransformInfoImplBase
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h274 bool isTruncateFree(Type *Ty1, Type *Ty2) { function in class:llvm::BasicTTIImplBase
275 return getTLI()->isTruncateFree(Ty1, Ty2);
419 if (TLI->isTruncateFree(OpTy, Ty))
715 TLI->isTruncateFree(SrcLT.second, DstLT.second))
H A DTargetLowering.h2298 virtual bool isTruncateFree(Type *FromTy, Type *ToTy) const {
2311 virtual bool isTruncateFree(EVT FromVT, EVT ToVT) const {
2359 !isTruncateFree(Ext->getType(), Load->getType()))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.h463 bool isTruncateFree(Type *SrcTy, Type *DstTy) const override {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h397 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
398 bool isTruncateFree(EVT VT1, EVT VT2) const override;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h354 bool isTruncateFree(Type *SrcTy, Type *DstTy) const override;
355 bool isTruncateFree(EVT SrcVT, EVT DstVT) const override;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h854 /// isTruncateFree - Return true if it's free to truncate a value of
857 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
858 bool isTruncateFree(EVT VT1, EVT VT2) const override;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp364 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { function in class:TargetTransformInfo
365 return TTIImpl->isTruncateFree(Ty1, Ty2);
H A DScalarEvolutionExpander.cpp2002 TTI->isTruncateFree(Phi->getType(), Phis.back()->getType())) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1061 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
1062 bool isTruncateFree(EVT VT1, EVT VT2) const override;
1070 /// virtual registers. Also, if isTruncateFree(Ty2, Ty1) is true, this
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1048 TLI.isTruncateFree(LargestVT, VT))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp4426 if (TLI.isZExtFree(VT, XVT) && TLI.isTruncateFree(XVT, VT))
4747 TLI.isTruncateFree(VT, HalfVT) &&
7804 TLI.isTruncateFree(VT, TruncVT)) {
7838 if (TruncVT.isSimple() && TLI.isTruncateFree(VT, TruncVT)) {
9174 bool isTruncFree = TLI.isTruncateFree(VT, N0.getValueType());
9976 (!TLI.isTruncateFree(N0.getOperand(0).getOperand(0).getValueType(),
10192 !TLI.isTruncateFree(N0.getOperand(0).getOperand(0).getValueType(),
10811 TLI.isTruncateFree(SrcVT, VT)) {
10842 TLI.isTruncateFree(SrcVT.getScalarType(), VT.getScalarType())) {
14463 if (!TLI.isTruncateFree(L
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3961 if (!ExtOpnd->hasOneUse() && !TLI.isTruncateFree(ExtTy, ExtOpnd->getType()))
5704 if (TLI && !TLI->isTruncateFree(I->getType(), Src->getType()))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp4034 if (SrcTy != DstTy && TTI.isTruncateFree(SrcTy, DstTy)) {

Completed in 280 milliseconds

12