Home
last modified time | relevance | path

Searched refs:MagicFactors (Results 1 – 2 of 2) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5889 SmallVector<SDValue, 16> MagicFactors, Factors, Shifts, ShiftMasks; in BuildSDIV() local
5914 MagicFactors.push_back(DAG.getConstant(magics.Magic, dl, SVT)); in BuildSDIV()
5930 MagicFactor = DAG.getBuildVector(VT, dl, MagicFactors); in BuildSDIV()
5935 assert(MagicFactors.size() == 1 && Factors.size() == 1 && in BuildSDIV()
5939 MagicFactor = DAG.getSplatVector(VT, dl, MagicFactors[0]); in BuildSDIV()
5945 MagicFactor = MagicFactors[0]; in BuildSDIV()
6089 MagicFactors.push_back(MagicFactor); in BuildUDIV()
6102 MagicFactor = DAG.getBuildVector(VT, dl, MagicFactors); in BuildUDIV()
6106 assert(PreShifts.size() == 1 && MagicFactors.size() == 1 && in BuildUDIV()
6110 MagicFactor = DAG.getSplatVector(VT, dl, MagicFactors[0]); in BuildUDIV()
[all …]
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp4946 SmallVector<Register, 16> PreShifts, PostShifts, MagicFactors, NPQFactors; in buildUDivUsingMul() local
4977 MagicFactors.push_back(MIB.buildConstant(ScalarTy, Magic).getReg(0)); in buildUDivUsingMul()
4998 MagicFactor = MIB.buildBuildVector(Ty, MagicFactors).getReg(0); in buildUDivUsingMul()
5005 MagicFactor = MagicFactors[0]; in buildUDivUsingMul()