Home
last modified time | relevance | path

Searched refs:OpSizeInBits (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2573 unsigned OpSizeInBits = VT.getSizeInBits(); in MatchBSwapHWordLow() local
2574 if (DemandHighBits && OpSizeInBits > 16 && in MatchBSwapHWordLow()
2576 !DAG.MaskedValueIsZero(N10, APInt::getHighBitsSet(OpSizeInBits, 16))) in MatchBSwapHWordLow()
2580 if (OpSizeInBits > 16) in MatchBSwapHWordLow()
2582 DAG.getConstant(OpSizeInBits-16, getShiftAmountTy(VT))); in MatchBSwapHWordLow()
2925 unsigned OpSizeInBits = VT.getSizeInBits(); in MatchRotate() local
2936 if ((LShVal + RShVal) != OpSizeInBits) in MatchRotate()
2947 APInt Mask = APInt::getAllOnesValue(OpSizeInBits); in MatchRotate()
2950 APInt RHSBits = APInt::getLowBitsSet(OpSizeInBits, LShVal); in MatchRotate()
2954 APInt LHSBits = APInt::getHighBitsSet(OpSizeInBits, RShVal); in MatchRotate()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2712 unsigned OpSizeInBits = VT.getScalarSizeInBits(); in visitSUB() local
2714 if (C->getAPIntValue() == (OpSizeInBits - 1)) in visitSUB()
4754 unsigned OpSizeInBits = VT.getSizeInBits(); in MatchBSwapHWordLow() local
4755 if (DemandHighBits && OpSizeInBits > 16) { in MatchBSwapHWordLow()
4766 N10, APInt::getHighBitsSet(OpSizeInBits, OpSizeInBits - 16))) in MatchBSwapHWordLow()
4771 if (OpSizeInBits > 16) { in MatchBSwapHWordLow()
4774 DAG.getConstant(OpSizeInBits - 16, DL, in MatchBSwapHWordLow()
6081 unsigned OpSizeInBits = VT.getScalarSizeInBits(); in visitXOR() local
6083 if (C->getAPIntValue() == (OpSizeInBits - 1)) in visitXOR()
6288 unsigned OpSizeInBits = VT.getScalarSizeInBits(); in visitSHL() local
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3435 unsigned OpSizeInBits = VT.getSizeInBits(); in MatchBSwapHWordLow() local
3436 if (DemandHighBits && OpSizeInBits > 16) { in MatchBSwapHWordLow()
3447 N10, APInt::getHighBitsSet(OpSizeInBits, OpSizeInBits - 16))) in MatchBSwapHWordLow()
3452 if (OpSizeInBits > 16) { in MatchBSwapHWordLow()
3455 DAG.getConstant(OpSizeInBits - 16, DL, in MatchBSwapHWordLow()
4406 unsigned OpSizeInBits = VT.getScalarSizeInBits(); in visitSHL() local
4444 if (N1C && N1C->getAPIntValue().uge(OpSizeInBits)) in visitSHL()
4454 APInt::getAllOnesValue(OpSizeInBits))) in visitSHL()
4472 if (c1 + c2 >= OpSizeInBits) in visitSHL()
4494 if (c2 >= OpSizeInBits - InnerShiftSize) { in visitSHL()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp14088 unsigned OpSizeInBits = VT.getScalarSizeInBits(); in stripModuloOnShift() local
14109 if (Mask->getZExtValue() == OpSizeInBits - 1) in stripModuloOnShift()