Home
last modified time | relevance | path

Searched refs:OpBits (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9770 unsigned OpBits = N->getOperand(0).getValueSizeInBits(); in DAGCombineTruncBoolExt() local
9773 if (DAG.ComputeNumSignBits(N->getOperand(0)) != OpBits || in DAGCombineTruncBoolExt()
9774 DAG.ComputeNumSignBits(N->getOperand(1)) != OpBits) in DAGCombineTruncBoolExt()
9778 APInt::getHighBitsSet(OpBits, OpBits-1)) || in DAGCombineTruncBoolExt()
9780 APInt::getHighBitsSet(OpBits, OpBits-1))) in DAGCombineTruncBoolExt()
10164 unsigned OpBits = in DAGCombineExtBoolTrunc() local
10166 assert(PromBits < OpBits && "Truncation not to a smaller bit count?"); in DAGCombineExtBoolTrunc()
10170 APInt::getHighBitsSet(OpBits, in DAGCombineExtBoolTrunc()
10171 OpBits-PromBits))) || in DAGCombineExtBoolTrunc()
10174 (OpBits-(PromBits-1)))) { in DAGCombineExtBoolTrunc()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3981 unsigned OpBits = Op.getValueType().getScalarType().getSizeInBits(); in visitSIGN_EXTEND() local
3986 if (OpBits == DestBits) { in visitSIGN_EXTEND()
3991 } else if (OpBits < DestBits) { in visitSIGN_EXTEND()
3994 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
3999 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
4006 if (OpBits < DestBits) in visitSIGN_EXTEND()
4008 else if (OpBits > DestBits) in visitSIGN_EXTEND()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp11218 unsigned OpBits = N->getOperand(0).getValueSizeInBits(); in DAGCombineTruncBoolExt() local
11221 if (DAG.ComputeNumSignBits(N->getOperand(0)) != OpBits || in DAGCombineTruncBoolExt()
11222 DAG.ComputeNumSignBits(N->getOperand(1)) != OpBits) in DAGCombineTruncBoolExt()
11226 APInt::getHighBitsSet(OpBits, OpBits-1)) || in DAGCombineTruncBoolExt()
11228 APInt::getHighBitsSet(OpBits, OpBits-1))) in DAGCombineTruncBoolExt()
11612 unsigned OpBits = in DAGCombineExtBoolTrunc() local
11614 assert(PromBits < OpBits && "Truncation not to a smaller bit count?"); in DAGCombineExtBoolTrunc()
11618 APInt::getHighBitsSet(OpBits, in DAGCombineExtBoolTrunc()
11619 OpBits-PromBits))) || in DAGCombineExtBoolTrunc()
11622 (OpBits-(PromBits-1)))) { in DAGCombineExtBoolTrunc()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp6044 unsigned OpBits = Op.getValueType().getScalarType().getSizeInBits(); in visitSIGN_EXTEND() local
6049 if (OpBits == DestBits) { in visitSIGN_EXTEND()
6054 } else if (OpBits < DestBits) { in visitSIGN_EXTEND()
6057 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
6062 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
6069 if (OpBits < DestBits) in visitSIGN_EXTEND()
6071 else if (OpBits > DestBits) in visitSIGN_EXTEND()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.td1342 class T_LOGICAL_1OP<string MnOp, bits<2> OpBits>
1350 let Inst{22-21} = OpBits;
1365 class T_LOGICAL_2OP<string MnOp, bits<3> OpBits, bit IsNeg, bit Rev>
1375 let Inst{23-21} = OpBits;
DHexagonInstrInfoV4.td1784 class T_LOGICAL_3OP<string MnOp1, string MnOp2, bits<2> OpBits, bit IsNeg>
1798 let Inst{22-21} = OpBits;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp8387 unsigned OpBits = Op.getScalarValueSizeInBits(); in visitSIGN_EXTEND() local
8392 if (OpBits == DestBits) { in visitSIGN_EXTEND()
8397 } else if (OpBits < DestBits) { in visitSIGN_EXTEND()
8400 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
8405 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
8412 if (OpBits < DestBits) in visitSIGN_EXTEND()
8414 else if (OpBits > DestBits) in visitSIGN_EXTEND()