Home | History | Annotate | Download | only in Scalar

Lines Matching full:apint

131     const APInt &getConstPart() const { return ConstPart; }
153 APInt ConstPart;
186 bool CombineXorOpnd(Instruction *I, XorOpnd *Opnd1, APInt &ConstOpnd,
189 APInt &ConstOpnd, Value *&Res);
225 ConstPart = APInt::getNullValue(V->getType()->getIntegerBitWidth());
418 static void IncorporateWeight(APInt &LHS, const APInt &RHS, unsigned Opcode) {
421 // and the APInt sum LHS + RHS may not be correct if it wraps (it is correct
469 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth));
471 APInt Threshold = CM + Bitwidth;
491 typedef std::pair<Value*, APInt> RepeatedValue;
585 SmallVector<std::pair<BinaryOperator*, APInt>, 8> Worklist; // (Op, Weight)
586 Worklist.push_back(std::make_pair(I, APInt(Bitwidth, 1)));
604 typedef DenseMap<Value*, APInt> LeafMap;
612 std::pair<BinaryOperator*, APInt> P = Worklist.pop_back_val();
617 APInt Weight = P.second; // Number of paths to this operand.
722 APInt Weight = It->second;
737 Ops.push_back(std::make_pair(Identity, APInt(Bitwidth, 1)));
1255 const APInt &ConstOpnd) {
1278 APInt &ConstOpnd, Value *&Res) {
1287 const APInt &C1 = Opnd1->getConstPart();
1313 APInt &ConstOpnd, Value *&Res) {
1335 const APInt &C1 = Opnd1->getConstPart();
1336 const APInt &C2 = Opnd2->getConstPart();
1337 APInt C3((~C1) ^ C2);
1352 const APInt &C1 = Opnd1->getConstPart();
1353 const APInt &C2 = Opnd2->getConstPart();
1354 APInt C3 = C1 ^ C2;
1368 const APInt &C1 = Opnd1->getConstPart();
1369 const APInt &C2 = Opnd2->getConstPart();
1370 APInt C3 = C1 ^ C2;
1398 APInt ConstOpnd(Ty->getIntegerBitWidth(), 0);