Home
last modified time | relevance | path

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

1234567

/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-stress/
Dllvm-stress.cpp213 return ConstantInt::getAllOnesValue(Tp); in getRandomConstant()
217 return ConstantFP::getAllOnesValue(Tp); in getRandomConstant()
235 return ConstantInt::getAllOnesValue(Tp); in getRandomValue()
239 return ConstantFP::getAllOnesValue(Tp); in getRandomValue()
426 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); in Act()
452 Ty, APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits()))); in Act()
/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-7.0/llvm/lib/Analysis/
DDemandedBits.cpp302 AliveBits[J] = APInt::getAllOnesValue(IT->getBitWidth()); in performAnalysis()
335 APInt AB = APInt::getAllOnesValue(BitWidth); in performAnalysis()
375 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 …]
/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()
/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/swiftshader/third_party/LLVM/include/llvm/
DConstant.h140 static Constant *getAllOnesValue(Type* Ty);
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h143 static Constant *getAllOnesValue(Type* Ty);
/external/llvm/include/llvm/IR/
DConstant.h141 static Constant *getAllOnesValue(Type* Ty);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstant.h161 static Constant *getAllOnesValue(Type* Ty);
/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()
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()
DInstCombineVectorOps.cpp436 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitInsertElementInst()
464 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitShuffleVectorInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp68 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); in SimplifyDemandedInstructionBits()
626 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits()
880 APInt BitMask1(APInt::getAllOnesValue(BitWidth)); in simplifyShrShlDemandedBits()
881 APInt BitMask2(APInt::getAllOnesValue(BitWidth)); in simplifyShrShlDemandedBits()
1039 APInt EltMask(APInt::getAllOnesValue(VWidth)); in SimplifyDemandedVectorElts()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h530 return getAllOnesValue(numBits); in getMaxValue()
535 APInt API = getAllOnesValue(numBits); in getSignedMaxValue()
561 static APInt getAllOnesValue(unsigned numBits) { in getAllOnesValue() function

1234567