Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/Interp/
H A 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
H A 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) {
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDecoderEmitter.cpp2168 if (const BitsInit *OpBits = in populateInstruction() local
2170 for (unsigned I = 0; I < OpBits->getNumBits(); ++I) in populateInstruction()
2171 if (const BitInit *OpBit = dyn_cast<BitInit>(OpBits->getBit(I))) in populateInstruction()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp13440 unsigned OpBits = N->getOperand(0).getValueSizeInBits(); in DAGCombineTruncBoolExt() local
13443 if (DAG.ComputeNumSignBits(N->getOperand(0)) != OpBits || in DAGCombineTruncBoolExt()
13444 DAG.ComputeNumSignBits(N->getOperand(1)) != OpBits) in DAGCombineTruncBoolExt()
13448 APInt::getHighBitsSet(OpBits, OpBits-1)) || in DAGCombineTruncBoolExt()
13450 APInt::getHighBitsSet(OpBits, OpBits-1))) in DAGCombineTruncBoolExt()
13821 unsigned OpBits = in DAGCombineExtBoolTrunc() local
13823 assert(PromBits < OpBits && "Truncation not to a smaller bit count?"); in DAGCombineExtBoolTrunc()
13827 APInt::getHighBitsSet(OpBits, in DAGCombineExtBoolTrunc()
13828 OpBits-PromBits))) || in DAGCombineExtBoolTrunc()
13831 (OpBits-(PromBits-1)))) { in DAGCombineExtBoolTrunc()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp12004 unsigned OpBits = Op.getScalarValueSizeInBits(); in visitSIGN_EXTEND() local
12009 if (OpBits == DestBits) { in visitSIGN_EXTEND()
12014 } else if (OpBits < DestBits) { in visitSIGN_EXTEND()
12017 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
12022 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
12029 if (OpBits < DestBits) in visitSIGN_EXTEND()
12031 else if (OpBits > DestBits) in visitSIGN_EXTEND()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp41139 APInt OpBits = APInt::getAllOnes(EltSizeInBits); in SimplifyDemandedVectorEltsForTargetNode() local
41143 OpBits.clearAllBits(); in SimplifyDemandedVectorEltsForTargetNode()
41151 OpBits.setAllBits(); in SimplifyDemandedVectorEltsForTargetNode()
41155 OpBits |= Invert ? ~EltBits[I] : EltBits[I]; in SimplifyDemandedVectorEltsForTargetNode()
41160 return std::make_pair(OpBits, OpElts); in SimplifyDemandedVectorEltsForTargetNode()