HomeSort by: relevance | last modified time | path
    Searched refs:getAllOnesValue (Results 1 - 25 of 74) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Constant.h 63 /// getAllOnesValue.
189 static Constant *getAllOnesValue(Type* Ty);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
GISelKnownBits.cpp 59 Ty.isVector() ? APInt::getAllOnesValue(Ty.getNumElements()) : APInt(1, 1);
186 Known.One = APInt::getAllOnesValue(BitWidth);
187 Known.Zero = APInt::getAllOnesValue(BitWidth);
637 ? APInt::getAllOnesValue(Ty.getNumElements())
  /src/external/apache2/llvm/dist/llvm/tools/llvm-stress/
llvm-stress.cpp 211 return ConstantInt::getAllOnesValue(Tp);
215 return ConstantFP::getAllOnesValue(Tp);
233 return ConstantInt::getAllOnesValue(Tp);
237 return ConstantFP::getAllOnesValue(Tp);
425 return PT->push_back(ConstantVector::getAllOnesValue(Ty));
451 Ty, APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits())));
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
DemandedBits.cpp 365 AliveBits[J] = APInt::getAllOnesValue(T->getScalarSizeInBits());
410 APInt AB = APInt::getAllOnesValue(BitWidth);
451 return APInt::getAllOnesValue(
InstructionSimplify.cpp 203 Cond, Constant::getAllOnesValue(Cond->getType()), Q, MaxRecurse))
641 return Constant::getAllOnesValue(Ty);
1151 return Constant::getAllOnesValue(Op0->getType());
1407 return Constant::getAllOnesValue(Op0->getType());
1969 : ConstantInt::getAllOnesValue(Ty);
2154 return Constant::getAllOnesValue(Op0->getType());
2164 return Constant::getAllOnesValue(Op0->getType());
2176 return Constant::getAllOnesValue(Op1->getType());
2180 return Constant::getAllOnesValue(Op0->getType());
2341 return Constant::getAllOnesValue(Op0->getType())
    [all...]
ConstantFolding.cpp 113 return Constant::getAllOnesValue(DestTy);
370 // only for supported types inside getAllOnesValue.
371 return Constant::getAllOnesValue(DestTy);
2475 {Constant::getAllOnesValue(Ty->getStructElementType(0)),
2520 return Constant::getAllOnesValue(Ty);
ValueTracking.cpp 208 FVTy ? APInt::getAllOnesValue(FVTy->getNumElements()) : APInt(1, 1);
380 FVTy ? APInt::getAllOnesValue(FVTy->getNumElements()) : APInt(1, 1);
1724 APInt DemandedVecElts = APInt::getAllOnesValue(NumElts);
2493 APInt DemandedVecElts = APInt::getAllOnesValue(NumElts);
2520 FVTy ? APInt::getAllOnesValue(FVTy->getNumElements()) : APInt(1, 1);
6682 Upper = APInt::getAllOnesValue(Width).lshr(*C) + 1;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 58 APInt DemandedMask(APInt::getAllOnesValue(BitWidth));
280 I->setOperand(1, ConstantInt::getAllOnesValue(VTy));
746 APInt AllOnes = APInt::getAllOnesValue(BitWidth);
1024 APInt BitMask1(APInt::getAllOnesValue(BitWidth));
1025 APInt BitMask2(APInt::getAllOnesValue(BitWidth));
1091 APInt EltMask(APInt::getAllOnesValue(VWidth));
1518 APInt DemandedPtrs(APInt::getAllOnesValue(VWidth)),
InstCombineShifts.cpp 44 APInt::getAllOnesValue(ShAmt0->getType()->getScalarSizeInBits());
251 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy);
289 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy);
1005 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty);
1183 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty);
InstCombineAndOrXor.cpp 295 L12 = Constant::getAllOnesValue(L1->getType());
300 L22 = Constant::getAllOnesValue(L2->getType());
330 R12 = Constant::getAllOnesValue(R1->getType());
354 R12 = Constant::getAllOnesValue(R2->getType());
2470 Builder.CreateAdd(B, Constant::getAllOnesValue(B->getType())), A);
2921 Value *AllOnes = ConstantInt::getAllOnesValue(Ty);
2968 return BinaryOperator::CreateLShr(Constant::getAllOnesValue(Ty), Sub);
3076 Value *MinusOne = ConstantInt::getAllOnesValue(LHS0->getType());
3166 C = Constant::replaceUndefsWith(C, ConstantInt::getAllOnesValue(EltTy));
3363 Value *DecX = Builder.CreateAdd(X, ConstantInt::getAllOnesValue(Ty))
    [all...]
InstCombineCompares.cpp 1318 Value *Mask = Builder.CreateAdd(Y, Constant::getAllOnesValue(Y->getType()));
1561 ConstantInt::getAllOnesValue(X->getType()));
1591 ConstantInt::getAllOnesValue(X->getType()));
2247 ConstantInt::getAllOnesValue(ShrTy));
2807 ConstantInt::getAllOnesValue(X->getType()));
2843 ConstantInt::getAllOnesValue(NewType));
3139 IsZero ? Constant::getNullValue(Ty) : Constant::getAllOnesValue(Ty));
3185 ConstantInt::getAllOnesValue(Ty));
3189 ConstantInt::getAllOnesValue(Ty));
3598 APInt::getAllOnesValue(XShAmt->getType()->getScalarSizeInBits())
    [all...]
InstCombineNegator.cpp 361 ConstantExpr::getShl(Constant::getAllOnesValue(Op1C->getType()), Op1C),
InstCombineMulDivRem.cpp 1039 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty));
1178 Constant *NegOne = ConstantInt::getAllOnesValue(Ty);
1486 Constant *N1 = Constant::getAllOnesValue(Ty);
1510 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty));
InstCombineVectorOps.cpp 277 APInt UsedElts(APInt::getAllOnesValue(VWidth));
325 UnionUsedElts = APInt::getAllOnesValue(VWidth);
1438 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth));
2387 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth));
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
LegalizeVectorOps.cpp 946 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), DL,
963 APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, MaskTy);
1205 APInt::getAllOnesValue(VT.getScalarSizeInBits()), DL, VT);
1499 DAG.getConstant(APInt::getAllOnesValue
1534 DAG.getConstant(APInt::getAllOnesValue
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
APInt.h 536 return getAllOnesValue(numBits);
541 APInt API = getAllOnesValue(numBits);
567 static APInt getAllOnesValue(unsigned numBits) {
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Constants.cpp 405 Constant *Constant::getAllOnesValue(Type *Ty) {
408 APInt::getAllOnesValue(ITy->getBitWidth()));
411 APFloat FL = APFloat::getAllOnesValue(Ty->getFltSemantics(),
418 getAllOnesValue(VTy->getElementType()));
2675 return get(Instruction::Xor, C, Constant::getAllOnesValue(C->getType()));
2814 return Constant::getAllOnesValue(Ty);
2853 return Constant::getAllOnesValue(Ty);
ConstantFold.cpp 47 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy);
1196 return Constant::getAllOnesValue(C1->getType()); // undef | X -> ~0
1965 return Constant::getAllOnesValue(ResultTy);
2020 return Constant::getAllOnesValue(ResultTy);
2063 case FCmpInst::FCMP_TRUE: return Constant::getAllOnesValue(ResultTy);
IRBuilder.cpp 550 Mask = Constant::getAllOnesValue(
586 Mask = Constant::getAllOnesValue(
Type.cpp 294 return APInt::getAllOnesValue(getBitWidth());
  /src/external/apache2/llvm/dist/llvm/lib/Support/
APFixedPoint.cpp 384 APInt FractPartMask = APInt::getAllOnesValue(Scale).zext(Width);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
Reassociate.cpp 277 ConstantInt::getAllOnesValue(Ty) : ConstantFP::get(Ty, -1.0);
1245 return Constant::getAllOnesValue(X->getType());
1599 return Constant::getAllOnesValue(X->getType());
1613 Value *V = Constant::getAllOnesValue(X->getType());
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
LegalizationArtifactCombiner.h 121 APInt MaskVal = APInt::getAllOnesValue(SrcTy.getScalarSizeInBits());
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
TypePromotion.cpp 373 APInt Max = APInt::getAllOnesValue(TypePromotion::TypeSize);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExprCXX.cpp 799 size = llvm::Constant::getAllOnesValue(CGF.SizeTy);
941 llvm::Constant::getAllOnesValue(CGF.SizeTy),

Completed in 66 milliseconds

1 2 3