Home
last modified time | relevance | path

Searched refs:getAllOnesValue (Results 1 – 25 of 103) sorted by relevance

12345

/external/llvm/unittests/IR/
DValueTest.cpp58 Constant::getAllOnesValue(Int32Ty), in TEST()
80 Constant::getAllOnesValue(Int32Ty), in TEST()
100 Constant::getAllOnesValue(Int32Ty), "var", nullptr, in TEST()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp173 return ConstantInt::getAllOnesValue(Tp); in getRandomConstant()
177 return ConstantFP::getAllOnesValue(Tp); in getRandomConstant()
195 return ConstantInt::getAllOnesValue(Tp); in getRandomValue()
199 return ConstantFP::getAllOnesValue(Tp); in getRandomValue()
377 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); in Act()
402 APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits()))); in Act()
/external/llvm/lib/Analysis/
DDemandedBits.cpp295 AliveBits[J] = APInt::getAllOnesValue(IT->getBitWidth()); in performAnalysis()
328 APInt AB = APInt::getAllOnesValue(BitWidth); in performAnalysis()
368 return APInt::getAllOnesValue(DL.getTypeSizeInBits(I->getType())); in getDemandedBits()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp200 APInt Mask2 = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits()
229 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits()
526 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits()
553 APInt LocalMask = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits()
576 LocalMask = APInt::getAllOnesValue(GEPOpiBits); in ComputeMaskedBits()
621 APInt Mask2 = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits()
650 KnownZero = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits()
651 KnownOne = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits()
864 ComputeMaskedBits(V, APInt::getAllOnesValue(BitWidth), KnownZero, KnownOne, in isKnownNonZero()
974 APInt Mask = APInt::getAllOnesValue(TyBits); in ComputeNumSignBits()
[all …]
DInstructionSimplify.cpp68 return Constant::getAllOnesValue(Ty); in getTrue()
447 SimplifyXorInst(Cond, Constant::getAllOnesValue(Cond->getType()), in ThreadCmpOverSelect()
575 return Constant::getAllOnesValue(Op0->getType()); in SimplifyAddInst()
1137 return Constant::getAllOnesValue(Op0->getType()); in SimplifyAShrInst()
1259 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst()
1276 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst()
1292 return Constant::getAllOnesValue(Op1->getType()); in SimplifyOrInst()
1297 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst()
1366 return Constant::getAllOnesValue(Op0->getType()); in SimplifyXorInst()
1569 APInt NegOne = APInt::getAllOnesValue(Width); in SimplifyICmpInst()
[all …]
DLint.cpp414 APInt Mask = APInt::getAllOnesValue(BitWidth), in visitMemoryReference()
474 APInt Mask = APInt::getAllOnesValue(BitWidth), in isZero()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstant.h140 static Constant *getAllOnesValue(Type* Ty);
/external/llvm/include/llvm/IR/
DConstant.h141 static Constant *getAllOnesValue(Type* Ty);
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h143 static Constant *getAllOnesValue(Type* Ty);
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h395 return getAllOnesValue(numBits); in getMaxValue()
400 APInt API = getAllOnesValue(numBits); in getSignedMaxValue()
426 static APInt getAllOnesValue(unsigned numBits) { in getAllOnesValue() function
485 return getAllOnesValue(numBits).shl(shiftAmt); in getHighBitsSet()
502 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet()
DAPFloat.h255 static APFloat getAllOnesValue(unsigned BitWidth, bool isIEEE = false);
/external/llvm/include/llvm/ADT/
DAPInt.h423 return getAllOnesValue(numBits); in getMaxValue()
428 APInt API = getAllOnesValue(numBits); in getSignedMaxValue()
454 static APInt getAllOnesValue(unsigned numBits) { in getAllOnesValue() function
523 return getAllOnesValue(numBits).shl(shiftAmt); in getHighBitsSet()
542 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet()
DAPFloat.h282 static APFloat getAllOnesValue(unsigned BitWidth, bool isIEEE = false);
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h427 return getAllOnesValue(numBits); in getMaxValue()
432 APInt API = getAllOnesValue(numBits); in getSignedMaxValue()
458 static APInt getAllOnesValue(unsigned numBits) { in getAllOnesValue() function
527 return getAllOnesValue(numBits).shl(shiftAmt); in getHighBitsSet()
546 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp56 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); in SimplifyDemandedInstructionBits()
234 DemandedMask = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits()
721 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits()
855 APInt BitMask1(APInt::getAllOnesValue(BitWidth)); in SimplifyShrShlDemandedBits()
856 APInt BitMask2(APInt::getAllOnesValue(BitWidth)); in SimplifyShrShlDemandedBits()
910 APInt EltMask(APInt::getAllOnesValue(VWidth)); in SimplifyDemandedVectorElts()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp291 APInt::getAllOnesValue(VT.getScalarType().getSizeInBits()), VT); in ExpandVSELECT()
364 DAG.getConstant(APInt::getAllOnesValue in UnrollVSETCC()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp55 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); in SimplifyDemandedInstructionBits()
218 DemandedMask = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits()
731 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits()
810 APInt EltMask(APInt::getAllOnesValue(VWidth)); in SimplifyDemandedVectorElts()
DInstCombineVectorOps.cpp436 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitInsertElementInst()
464 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitShuffleVectorInst()
DInstCombineCasts.cpp548 APInt TypeMask(APInt::getAllOnesValue(BitWidth)); in transformZExtICmp()
597 APInt TypeMask(APInt::getAllOnesValue(BitWidth)); in transformZExtICmp()
918 APInt TypeMask(APInt::getAllOnesValue(BitWidth)); in transformSExtICmp()
928 ConstantInt::getAllOnesValue(CI.getType()) : in transformSExtICmp()
945 ConstantInt::getAllOnesValue(In->getType()), in transformSExtICmp()
DInstCombineCompares.cpp708 ConstantExpr::getSub(ConstantInt::getAllOnesValue(CI->getType()), CI); in FoldICmpAddOpCst()
1616 Constant *NegOne = Constant::getAllOnesValue(SrcTy); in visitICmpInstWithCastAndCast()
1746 if (!CI) return APInt::getAllOnesValue(BitWidth); in DemandedBitsLHSMask()
1769 return APInt::getAllOnesValue(BitWidth); in DemandedBitsLHSMask()
1914 APInt::getAllOnesValue(BitWidth), in visitICmpInst()
2038 Constant::getAllOnesValue(Op0->getType())); in visitICmpInst()
2360 Constant::getAllOnesValue(SRem->getType())); in visitICmpInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp743 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, in ExpandSELECT()
758 APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, MaskTy); in ExpandSELECT()
969 APInt::getAllOnesValue(VT.getScalarType().getSizeInBits()), DL, VT); in ExpandVSELECT()
1062 DAG.getConstant(APInt::getAllOnesValue in UnrollVSETCC()
/external/llvm/lib/IR/
DIRBuilder.cpp271 Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context), in CreateMaskedGather()
302 Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context), in CreateMaskedScatter()
/external/llvm/lib/Support/
DAPFloat.cpp3375 APFloat::getAllOnesValue(unsigned BitWidth, bool isIEEE) in getAllOnesValue() function in APFloat
3379 return APFloat(IEEEhalf, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3381 return APFloat(IEEEsingle, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3383 return APFloat(IEEEdouble, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3385 return APFloat(x87DoubleExtended, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3388 return APFloat(IEEEquad, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
3389 return APFloat(PPCDoubleDouble, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp914 markConstant(IV, &I, Constant::getAllOnesValue(PT)); in visitBinaryOperator()
917 Constant::getAllOnesValue(I.getType())); in visitBinaryOperator()
1345 markForcedConstant(&I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
1390 markForcedConstant(&I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSCCP.cpp942 markConstant(IV, &I, Constant::getAllOnesValue(PT)); in visitBinaryOperator()
945 Constant::getAllOnesValue(I.getType())); in visitBinaryOperator()
1531 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
1563 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()

12345