Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/AST/Interp/
DBoolean.h123 static bool add(Boolean A, Boolean B, unsigned OpBits, Boolean *R) { in add() argument
128 static bool sub(Boolean A, Boolean B, unsigned OpBits, Boolean *R) { in sub() argument
133 static bool mul(Boolean A, Boolean B, unsigned OpBits, Boolean *R) { in mul() argument
DIntegral.h194 static bool add(Integral A, Integral B, unsigned OpBits, Integral *R) {
198 static bool sub(Integral A, Integral B, unsigned OpBits, Integral *R) {
202 static bool mul(Integral A, Integral B, unsigned OpBits, Integral *R) {
/external/llvm-project/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp2060 if (const BitsInit *OpBits = dyn_cast<BitsInit>(EncodedValue->getValue())) in populateInstruction() local
2061 for (unsigned I = 0; I < OpBits->getNumBits(); ++I) in populateInstruction()
2062 if (const BitInit *OpBit = dyn_cast<BitInit>(OpBits->getBit(I))) in populateInstruction()
/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-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp12361 unsigned OpBits = N->getOperand(0).getValueSizeInBits(); in DAGCombineTruncBoolExt() local
12364 if (DAG.ComputeNumSignBits(N->getOperand(0)) != OpBits || in DAGCombineTruncBoolExt()
12365 DAG.ComputeNumSignBits(N->getOperand(1)) != OpBits) in DAGCombineTruncBoolExt()
12369 APInt::getHighBitsSet(OpBits, OpBits-1)) || in DAGCombineTruncBoolExt()
12371 APInt::getHighBitsSet(OpBits, OpBits-1))) in DAGCombineTruncBoolExt()
12754 unsigned OpBits = in DAGCombineExtBoolTrunc() local
12756 assert(PromBits < OpBits && "Truncation not to a smaller bit count?"); in DAGCombineExtBoolTrunc()
12760 APInt::getHighBitsSet(OpBits, in DAGCombineExtBoolTrunc()
12761 OpBits-PromBits))) || in DAGCombineExtBoolTrunc()
12764 (OpBits-(PromBits-1)))) { in DAGCombineExtBoolTrunc()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp13168 unsigned OpBits = N->getOperand(0).getValueSizeInBits(); in DAGCombineTruncBoolExt() local
13171 if (DAG.ComputeNumSignBits(N->getOperand(0)) != OpBits || in DAGCombineTruncBoolExt()
13172 DAG.ComputeNumSignBits(N->getOperand(1)) != OpBits) in DAGCombineTruncBoolExt()
13176 APInt::getHighBitsSet(OpBits, OpBits-1)) || in DAGCombineTruncBoolExt()
13178 APInt::getHighBitsSet(OpBits, OpBits-1))) in DAGCombineTruncBoolExt()
13561 unsigned OpBits = in DAGCombineExtBoolTrunc() local
13563 assert(PromBits < OpBits && "Truncation not to a smaller bit count?"); in DAGCombineExtBoolTrunc()
13567 APInt::getHighBitsSet(OpBits, in DAGCombineExtBoolTrunc()
13568 OpBits-PromBits))) || in DAGCombineExtBoolTrunc()
13571 (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-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp9631 unsigned OpBits = Op.getScalarValueSizeInBits(); in visitSIGN_EXTEND() local
9636 if (OpBits == DestBits) { in visitSIGN_EXTEND()
9641 } else if (OpBits < DestBits) { in visitSIGN_EXTEND()
9644 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
9649 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
9656 if (OpBits < DestBits) in visitSIGN_EXTEND()
9658 else if (OpBits > DestBits) in visitSIGN_EXTEND()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp10527 unsigned OpBits = Op.getScalarValueSizeInBits(); in visitSIGN_EXTEND() local
10532 if (OpBits == DestBits) { in visitSIGN_EXTEND()
10537 } else if (OpBits < DestBits) { in visitSIGN_EXTEND()
10540 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
10545 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
10552 if (OpBits < DestBits) in visitSIGN_EXTEND()
10554 else if (OpBits > DestBits) in visitSIGN_EXTEND()