Home
last modified time | relevance | path

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

12345678

/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-project/llvm/unittests/IR/
DValueTest.cpp57 Constant::getAllOnesValue(Int32Ty), in TEST()
79 Constant::getAllOnesValue(Int32Ty), in TEST()
100 Constant::getAllOnesValue(Int32Ty), "var", nullptr, in TEST()
/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/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-project/llvm/tools/llvm-stress/
Dllvm-stress.cpp211 return ConstantInt::getAllOnesValue(Tp); in getRandomConstant()
215 return ConstantFP::getAllOnesValue(Tp); in getRandomConstant()
233 return ConstantInt::getAllOnesValue(Tp); in getRandomValue()
237 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/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDemandedBits.cpp342 AliveBits[J] = APInt::getAllOnesValue(T->getScalarSizeInBits()); in performAnalysis()
387 APInt AB = APInt::getAllOnesValue(BitWidth); in performAnalysis()
428 return APInt::getAllOnesValue( in getDemandedBits()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp59 Ty.isVector() ? APInt::getAllOnesValue(Ty.getNumElements()) : APInt(1, 1); in getKnownBits()
170 Known.One = APInt::getAllOnesValue(BitWidth); in computeKnownBitsImpl()
171 Known.Zero = APInt::getAllOnesValue(BitWidth); in computeKnownBitsImpl()
596 ? APInt::getAllOnesValue(Ty.getNumElements()) in computeNumSignBits()
/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/llvm-project/llvm/include/llvm/IR/
DConstant.h183 static Constant *getAllOnesValue(Type* Ty);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstant.h177 static Constant *getAllOnesValue(Type* Ty);
/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/llvm-project/llvm/lib/Analysis/
DDemandedBits.cpp365 AliveBits[J] = APInt::getAllOnesValue(T->getScalarSizeInBits()); in performAnalysis()
410 APInt AB = APInt::getAllOnesValue(BitWidth); in performAnalysis()
451 return APInt::getAllOnesValue( in getDemandedBits()
/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-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp58 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); in SimplifyDemandedInstructionBits()
269 I->setOperand(1, ConstantInt::getAllOnesValue(VTy)); in SimplifyDemandedUseBits()
720 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits()
980 APInt BitMask1(APInt::getAllOnesValue(BitWidth)); in simplifyShrShlDemandedBits()
981 APInt BitMask2(APInt::getAllOnesValue(BitWidth)); in simplifyShrShlDemandedBits()
1047 APInt EltMask(APInt::getAllOnesValue(VWidth)); in SimplifyDemandedVectorElts()
1477 APInt DemandedPtrs(APInt::getAllOnesValue(VWidth)), in SimplifyDemandedVectorElts()
DInstCombineShifts.cpp78 APInt::getAllOnesValue(ShAmt0->getType()->getScalarSizeInBits()); in reassociateShiftAmtsOfTwoSameDirectionShifts()
245 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy); in dropRedundantMaskingOfLeftShiftInput()
283 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy); in dropRedundantMaskingOfLeftShiftInput()
999 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitShl()
1159 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitLShr()
DInstCombineAndOrXor.cpp295 L12 = Constant::getAllOnesValue(L1->getType()); in getMaskedTypeForICmpPair()
300 L22 = Constant::getAllOnesValue(L2->getType()); in getMaskedTypeForICmpPair()
330 R12 = Constant::getAllOnesValue(R1->getType()); in getMaskedTypeForICmpPair()
354 R12 = Constant::getAllOnesValue(R2->getType()); in getMaskedTypeForICmpPair()
2381 Builder.CreateAdd(B, Constant::getAllOnesValue(B->getType())), A); in foldOrOfICmps()
2816 Value *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitOr()
2950 Value *MinusOne = ConstantInt::getAllOnesValue(LHS0->getType()); in foldXorOfICmps()
3040 C = Constant::replaceUndefsWith(C, ConstantInt::getAllOnesValue(EltTy)); in visitMaskedMerge()
3180 C = Constant::replaceUndefsWith(C, ConstantInt::getAllOnesValue(EltTy)); in visitXor()
3249 *RHSC == APInt::getAllOnesValue(Ty->getScalarSizeInBits()).shl(*C)) { in visitXor()
[all …]
/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-10.0/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp73 Ty.isVector() ? APInt::getAllOnesValue(Ty.getNumElements()) : APInt(1, 1); in getKnownBits()
441 ? APInt::getAllOnesValue(Ty.getNumElements()) in computeNumSignBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp69 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); in SimplifyDemandedInstructionBits()
676 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits()
954 APInt BitMask1(APInt::getAllOnesValue(BitWidth)); in simplifyShrShlDemandedBits()
955 APInt BitMask2(APInt::getAllOnesValue(BitWidth)); in simplifyShrShlDemandedBits()
1124 APInt EltMask(APInt::getAllOnesValue(VWidth)); in SimplifyDemandedVectorElts()
1526 APInt DemandedPtrs(APInt::getAllOnesValue(VWidth)), in SimplifyDemandedVectorElts()
DInstCombineShifts.cpp77 APInt::getAllOnesValue(ShAmt0->getType()->getScalarSizeInBits()); in reassociateShiftAmtsOfTwoSameDirectionShifts()
244 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy); in dropRedundantMaskingOfLeftShiftInput()
282 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy); in dropRedundantMaskingOfLeftShiftInput()
1014 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitShl()
1168 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitLShr()
/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-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp931 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, in ExpandSELECT()
945 APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, MaskTy); in ExpandSELECT()
1187 APInt::getAllOnesValue(VT.getScalarSizeInBits()), DL, VT); in ExpandVSELECT()
1437 DAG.getConstant(APInt::getAllOnesValue in UnrollStrictFPOp()
1472 DAG.getConstant(APInt::getAllOnesValue in UnrollVSETCC()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h536 return getAllOnesValue(numBits);
541 APInt API = getAllOnesValue(numBits);
567 static APInt getAllOnesValue(unsigned numBits) {

12345678