Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFISelLowering.h113 bool isIntDivCheap(EVT VT, AttributeList Attr) const override { return true; } in isIntDivCheap() function
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.h76 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
H A DWebAssemblyISelLowering.cpp796 bool WebAssemblyTargetLowering::isIntDivCheap(EVT VT, in isIntDivCheap() function in WebAssemblyTargetLowering
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVEISelLowering.h235 bool isIntDivCheap(EVT, AttributeList) const override { return false; } in isIntDivCheap() function
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h736 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
H A DAArch64ISelLowering.cpp13984 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()
14033 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSREMPow2()
20768 bool AArch64TargetLowering::isIntDivCheap(EVT VT, AttributeList Attr) const { in isIntDivCheap() function in AArch64TargetLowering
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.h1459 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
H A DX86ISelLowering.cpp23949 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()
56385 bool X86TargetLowering::isIntDivCheap(EVT VT, AttributeList Attr) const { in isIntDivCheap() function in X86TargetLowering
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetLowering.h496 virtual bool isIntDivCheap(EVT VT, AttributeList Attr) const { return false; } in isIntDivCheap() function
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4977 if (!isIntDivCheap(VT, Attr) && !Attr.hasFnAttr(Attribute::MinSize)) { in SimplifySetCC()
5750 if (TLI.isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()
5761 if (TLI.isIntDivCheap(N->getValueType(0), Attr)) in BuildSREMPow2()
H A DDAGCombiner.cpp4358 if (!N1C || TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitSDIV()
4443 !TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitSDIVLike()
4497 if (!N1C || TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitUDIV()
4540 !TLI.isIntDivCheap(N->getValueType(0), Attr)) in visitUDIVLike()
4621 if (DAG.isKnownNeverZero(N1) && !TLI.isIntDivCheap(VT, Attr)) { in visitREM()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp4904 if (TLI.isIntDivCheap(getApproximateEVTForLLT(DstTy, DL, Ctx), Attr)) in matchUDivByConst()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp12493 if (isIntDivCheap(N->getValueType(0), Attr)) in BuildSDIVPow2()