Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h116 bool isIntDivCheap(EVT VT, AttributeList Attr) const override { return true; } in isIntDivCheap() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.h76 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
H A DWebAssemblyISelLowering.cpp815 bool WebAssemblyTargetLowering::isIntDivCheap(EVT VT, in isIntDivCheap() function in WebAssemblyTargetLowering
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h332 bool isIntDivCheap(EVT, AttributeList) const override { return false; } in isIntDivCheap() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h478 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
H A DRISCVISelLowering.cpp11631 !isIntDivCheap(N->getValueType(0), Attr)) in ReplaceNodeResults()
19943 bool RISCVTargetLowering::isIntDivCheap(EVT VT, AttributeList Attr) const { in isIntDivCheap() function in RISCVTargetLowering
20367 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h817 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
H A DAArch64ISelLowering.cpp16811 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()
16834 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSREMPow2()
25462 bool AArch64TargetLowering::isIntDivCheap(EVT VT, AttributeList Attr) const { in isIntDivCheap() function in AArch64TargetLowering
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1534 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
H A DX86ISelLowering.cpp22763 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()
57574 bool X86TargetLowering::isIntDivCheap(EVT VT, AttributeList Attr) const { in isIntDivCheap() function in X86TargetLowering
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h560 return !getTLI()->isIntDivCheap(VT, Fn.getAttributes()); in preferToKeepConstantsAttached()
H A DTargetLowering.h533 virtual bool isIntDivCheap(EVT VT, AttributeList Attr) const { return false; } in isIntDivCheap() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5145 if (TLI.isIntDivCheap(getApproximateEVTForLLT(DstTy, DL, Ctx), Attr)) in matchUDivByConst()
5190 if (TLI.isIntDivCheap(getApproximateEVTForLLT(DstTy, DL, Ctx), Attr)) in matchSDivByConst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5294 if (!isIntDivCheap(VT, Attr) && !Attr.hasFnAttr(Attribute::MinSize)) { in SimplifySetCC()
6091 if (TLI.isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()
6102 if (TLI.isIntDivCheap(N->getValueType(0), Attr)) in BuildSREMPow2()
H A DDAGCombiner.cpp4792 if (!N1C || TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitSDIV()
4877 !TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitSDIVLike()
4932 if (!N1C || TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitUDIV()
4975 !TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitUDIVLike()
5057 if (DAG.isKnownNeverZero(N1) && !TLI.isIntDivCheap(VT, Attr)) { in visitREM()