Home
last modified time | relevance | path

Searched refs:isIntDivCheap (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h121 bool isIntDivCheap(EVT VT, AttributeList Attr) const override { return true; } in isIntDivCheap() function
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.h76 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
H A DWebAssemblyISelLowering.cpp813 bool WebAssemblyTargetLowering::isIntDivCheap(EVT VT, in isIntDivCheap() function in WebAssemblyTargetLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h332 bool isIntDivCheap(EVT, AttributeList) const override { return false; }
242 bool isIntDivCheap(EVT, AttributeList) const override { return false; } isIntDivCheap() function
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h529 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
H A DRISCVISelLowering.cpp12450 !isIntDivCheap(N->getValueType(0), Attr)) in ReplaceNodeResults()
21579 bool RISCVTargetLowering::isIntDivCheap(EVT VT, AttributeList Attr) const { in isIntDivCheap()
22015 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()
21576 bool RISCVTargetLowering::isIntDivCheap(EVT VT, AttributeList Attr) const { isIntDivCheap() function in RISCVTargetLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1540 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
H A DX86ISelLowering.cpp22944 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()
59243 bool X86TargetLowering::isIntDivCheap(EVT VT, AttributeList Attr) const { in isIntDivCheap() function in X86TargetLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h840 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
H A DAArch64ISelLowering.cpp17941 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()
17971 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSREMPow2()
26908 bool AArch64TargetLowering::isIntDivCheap(EVT VT, AttributeList Attr) const { in isIntDivCheap() function in AArch64TargetLowering
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h573 return !getTLI()->isIntDivCheap(VT, Fn.getAttributes()); in preferToKeepConstantsAttached()
H A DTargetLowering.h543 virtual bool isIntDivCheap(EVT VT, AttributeList Attr) const { return false; } in isIntDivCheap() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5342 if (TLI.isIntDivCheap(getApproximateEVTForLLT(DstTy, DL, Ctx), Attr)) in matchUDivByConst()
5392 if (TLI.isIntDivCheap(getApproximateEVTForLLT(DstTy, DL, Ctx), Attr)) in matchSDivByConst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5369 if (!isIntDivCheap(VT, Attr) && !Attr.hasFnAttr(Attribute::MinSize)) { in SimplifySetCC()
6223 if (TLI.isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()
6234 if (TLI.isIntDivCheap(N->getValueType(0), Attr)) in BuildSREMPow2()
H A DDAGCombiner.cpp4761 if (!N1C || TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitSDIV()
4846 !TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitSDIVLike()
4901 if (!N1C || TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitUDIV()
4944 !TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitUDIVLike()
5026 if (DAG.isKnownNeverZero(N1) && !TLI.isIntDivCheap(VT, Attr)) { in visitREM()