Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp2997 unsigned NVTBits = NVT.getSizeInBits(); in ExpandShiftByConstant() local
3002 } else if (Amt.ugt(NVTBits)) { in ExpandShiftByConstant()
3005 DAG.getShiftAmountConstant(Amt - NVTBits, NVT, DL)); in ExpandShiftByConstant()
3006 } else if (Amt == NVTBits) { in ExpandShiftByConstant()
3017 DAG.getShiftAmountConstant(-Amt + NVTBits, NVT, DL))); in ExpandShiftByConstant()
3025 } else if (Amt.ugt(NVTBits)) { in ExpandShiftByConstant()
3027 DAG.getShiftAmountConstant(Amt - NVTBits, NVT, DL)); in ExpandShiftByConstant()
3029 } else if (Amt == NVTBits) { in ExpandShiftByConstant()
3038 DAG.getShiftAmountConstant(-Amt + NVTBits, NVT, DL))); in ExpandShiftByConstant()
3048 DAG.getShiftAmountConstant(NVTBits - 1, NVT, DL)); in ExpandShiftByConstant()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp5204 unsigned NVTBits = HalfTy.getSizeInBits(); in narrowScalarShiftByConstant() local
5205 unsigned VTBits = 2 * NVTBits; in narrowScalarShiftByConstant()
5211 } else if (Amt.ugt(NVTBits)) { in narrowScalarShiftByConstant()
5214 MIRBuilder.buildConstant(AmtTy, Amt - NVTBits)); in narrowScalarShiftByConstant()
5215 } else if (Amt == NVTBits) { in narrowScalarShiftByConstant()
5223 NVT, InL, MIRBuilder.buildConstant(AmtTy, -Amt + NVTBits)); in narrowScalarShiftByConstant()
5229 } else if (Amt.ugt(NVTBits)) { in narrowScalarShiftByConstant()
5231 MIRBuilder.buildConstant(AmtTy, Amt - NVTBits)); in narrowScalarShiftByConstant()
5233 } else if (Amt == NVTBits) { in narrowScalarShiftByConstant()
5241 NVT, InH, MIRBuilder.buildConstant(AmtTy, -Amt + NVTBits)); in narrowScalarShiftByConstant()
[all …]