Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegralAP.h197 static bool add(IntegralAP A, IntegralAP B, unsigned OpBits, IntegralAP *R) { in add() argument
198 return CheckAddSubMulUB<std::plus>(A, B, OpBits, R); in add()
201 static bool sub(IntegralAP A, IntegralAP B, unsigned OpBits, IntegralAP *R) { in sub() argument
202 return CheckAddSubMulUB<std::minus>(A, B, OpBits, R); in sub()
205 static bool mul(IntegralAP A, IntegralAP B, unsigned OpBits, IntegralAP *R) { in mul() argument
206 return CheckAddSubMulUB<std::multiplies>(A, B, OpBits, R); in mul()
209 static bool rem(IntegralAP A, IntegralAP B, unsigned OpBits, IntegralAP *R) { in rem() argument
217 static bool div(IntegralAP A, IntegralAP B, unsigned OpBits, IntegralAP *R) { in div() argument
225 static bool bitAnd(IntegralAP A, IntegralAP B, unsigned OpBits, in bitAnd() argument
231 static bool bitOr(IntegralAP A, IntegralAP B, unsigned OpBits, in bitOr() argument
[all …]
H A DIntegral.h200 static bool add(Integral A, Integral B, unsigned OpBits, Integral *R) {
204 static bool sub(Integral A, Integral B, unsigned OpBits, Integral *R) {
208 static bool mul(Integral A, Integral B, unsigned OpBits, Integral *R) {
212 static bool rem(Integral A, Integral B, unsigned OpBits, Integral *R) {
217 static bool div(Integral A, Integral B, unsigned OpBits, Integral *R) {
222 static bool bitAnd(Integral A, Integral B, unsigned OpBits, Integral *R) {
227 static bool bitOr(Integral A, Integral B, unsigned OpBits, Integral *R) {
232 static bool bitXor(Integral A, Integral B, unsigned OpBits, Integral *R) {
252 unsigned OpBits, Integral *R) {
253 *R = Integral::from(A.V << B.V, OpBits);
[all …]
H A DBoolean.h125 static bool add(Boolean A, Boolean B, unsigned OpBits, Boolean *R) { in add() argument
130 static bool sub(Boolean A, Boolean B, unsigned OpBits, Boolean *R) { in sub() argument
135 static bool mul(Boolean A, Boolean B, unsigned OpBits, Boolean *R) { in mul() argument
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDecoderEmitter.cpp1981 if (const BitsInit *OpBits = dyn_cast<BitsInit>(EncodedValue->getValue())) in addOneOperandFields() local
1982 for (unsigned I = 0; I < OpBits->getNumBits(); ++I) in addOneOperandFields()
1983 if (const BitInit *OpBit = dyn_cast<BitInit>(OpBits->getBit(I))) in addOneOperandFields()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp14100 unsigned OpBits = N->getOperand(0).getValueSizeInBits(); in DAGCombineTruncBoolExt() local
14103 if (DAG.ComputeNumSignBits(N->getOperand(0)) != OpBits || in DAGCombineTruncBoolExt()
14104 DAG.ComputeNumSignBits(N->getOperand(1)) != OpBits) in DAGCombineTruncBoolExt()
14108 APInt::getHighBitsSet(OpBits, OpBits-1)) || in DAGCombineTruncBoolExt()
14110 APInt::getHighBitsSet(OpBits, OpBits-1))) in DAGCombineTruncBoolExt()
14481 unsigned OpBits = in DAGCombineExtBoolTrunc() local
14483 assert(PromBits < OpBits && "Truncation not to a smaller bit count?"); in DAGCombineExtBoolTrunc()
14487 APInt::getHighBitsSet(OpBits, in DAGCombineExtBoolTrunc()
14488 OpBits-PromBits))) || in DAGCombineExtBoolTrunc()
14491 (OpBits-(PromBits-1)))) { in DAGCombineExtBoolTrunc()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp13620 unsigned OpBits = Op.getScalarValueSizeInBits(); in visitSIGN_EXTEND() local
13625 if (OpBits == DestBits) { in visitSIGN_EXTEND()
13630 } else if (OpBits < DestBits) { in visitSIGN_EXTEND()
13633 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
13638 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
13645 if (OpBits < DestBits) in visitSIGN_EXTEND()
13647 else if (OpBits > DestBits) in visitSIGN_EXTEND()
13910 unsigned OpBits = SrcVT.getScalarSizeInBits(); in visitZERO_EXTEND() local
13915 if (OpBits == DestBits) { in visitZERO_EXTEND()
13920 } else if (OpBits < DestBits) { in visitZERO_EXTEND()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp42134 APInt OpBits = APInt::getAllOnes(EltSizeInBits); in SimplifyDemandedVectorEltsForTargetNode() local
42138 OpBits.clearAllBits(); in SimplifyDemandedVectorEltsForTargetNode()
42146 OpBits.setAllBits(); in SimplifyDemandedVectorEltsForTargetNode()
42150 OpBits |= Invert ? ~EltBits[I] : EltBits[I]; in SimplifyDemandedVectorEltsForTargetNode()
42155 return std::make_pair(OpBits, OpElts); in SimplifyDemandedVectorEltsForTargetNode()