/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 147 return ConstantInt::getAllOnesValue(Tp); in getRandomConstant() 151 return ConstantFP::getAllOnesValue(Tp); in getRandomConstant() 169 return ConstantInt::getAllOnesValue(Tp); in getRandomValue() 173 return ConstantFP::getAllOnesValue(Tp); in getRandomValue() 364 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); in Act() 391 APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits()))); in Act()
|
/external/llvm/include/llvm/ |
D | Constant.h | 143 static Constant *getAllOnesValue(Type* Ty);
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 398 return getAllOnesValue(numBits); in getMaxValue() 403 APInt API = getAllOnesValue(numBits); in getSignedMaxValue() 429 static APInt getAllOnesValue(unsigned numBits) { in getAllOnesValue() function 488 return getAllOnesValue(numBits).shl(shiftAmt); in getHighBitsSet() 505 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet()
|
D | APFloat.h | 255 static APFloat getAllOnesValue(unsigned BitWidth, bool isIEEE = false);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 479 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), BitTy), in ExpandSELECT() 493 APInt::getAllOnesValue(BitTy.getSizeInBits()), MaskTy); in ExpandSELECT() 535 APInt::getAllOnesValue(VT.getScalarType().getSizeInBits()), VT); in ExpandVSELECT() 609 DAG.getConstant(APInt::getAllOnesValue in UnrollVSETCC()
|
D | DAGCombiner.cpp | 138 APInt Demanded = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedBits() 2031 DAG.getConstant(APInt::getAllOnesValue(VT.getSizeInBits()), in visitUREM() 2434 APInt::getAllOnesValue(BitWidth))) in visitAND() 2509 Constant = APInt::getAllOnesValue(BitWidth); in visitAND() 3022 return DAG.getConstant(APInt::getAllOnesValue(EltVT.getSizeInBits()), VT); in visitOR() 3223 APInt Mask = APInt::getAllOnesValue(OpSizeInBits); in MatchRotate() 3540 APInt::getAllOnesValue(OpSizeInBits))) in visitSHL() 3812 APInt::getAllOnesValue(OpSizeInBits))) in visitSRL() 4445 DAG.getConstant(APInt::getAllOnesValue(ElementWidth), VT); in visitSIGN_EXTEND() 7327 Imm ^= APInt::getAllOnesValue(BitWidth); in ReduceLoadOpStoreWidth() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 55 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); in SimplifyDemandedInstructionBits() 214 DemandedMask = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits() 737 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits() 816 APInt EltMask(APInt::getAllOnesValue(VWidth)); in SimplifyDemandedVectorElts()
|
D | InstCombineVectorOps.cpp | 399 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitInsertElementInst() 424 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitShuffleVectorInst()
|
D | InstCombineCompares.cpp | 736 ConstantExpr::getSub(ConstantInt::getAllOnesValue(CI->getType()), CI); in FoldICmpAddOpCst() 1643 Constant *NegOne = Constant::getAllOnesValue(SrcTy); in visitICmpInstWithCastAndCast() 1781 if (!CI) return APInt::getAllOnesValue(BitWidth); in DemandedBitsLHSMask() 1804 return APInt::getAllOnesValue(BitWidth); in DemandedBitsLHSMask() 1967 APInt::getAllOnesValue(BitWidth), in visitICmpInst() 2091 Constant::getAllOnesValue(Op0->getType())); in visitICmpInst() 2413 Constant::getAllOnesValue(SRem->getType())); in visitICmpInst()
|
D | InstCombineSelect.cpp | 116 return Constant::getAllOnesValue(I->getType()); in GetSelectFoldableConstant() 909 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitSelectInst()
|
D | InstCombineMulDivRem.cpp | 644 Constant *N1 = Constant::getAllOnesValue(I.getType()); in visitURem()
|
D | InstCombineCasts.cpp | 919 ConstantInt::getAllOnesValue(CI.getType()) : in transformSExtICmp() 936 ConstantInt::getAllOnesValue(In->getType()), in transformSExtICmp()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 75 return Constant::getAllOnesValue(Ty); in getTrue() 501 SimplifyXorInst(Cond, Constant::getAllOnesValue(Cond->getType()), in ThreadCmpOverSelect() 624 return Constant::getAllOnesValue(Op0->getType()); in SimplifyAddInst() 1298 return Constant::getAllOnesValue(Op0->getType()); in SimplifyAShrInst() 1433 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst() 1450 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst() 1466 return Constant::getAllOnesValue(Op1->getType()); in SimplifyOrInst() 1471 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst() 1540 return Constant::getAllOnesValue(Op0->getType()); in SimplifyXorInst() 1829 APInt NegOne = APInt::getAllOnesValue(Width); in SimplifyICmpInst() [all …]
|
D | ValueTracking.cpp | 255 KnownZero = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() 700 KnownZero = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() 701 KnownOne = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits()
|
D | ConstantFolding.cpp | 53 return Constant::getAllOnesValue(DestTy); in FoldBitCast()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 888 markConstant(IV, &I, Constant::getAllOnesValue(PT)); in visitBinaryOperator() 891 Constant::getAllOnesValue(I.getType())); in visitBinaryOperator() 1357 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1389 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
|
D | Reassociate.cpp | 241 Constant *Cst = Constant::getAllOnesValue(Neg->getType()); in LowerNegateToMultiply() 1056 return Constant::getAllOnesValue(X->getType()); in OptimizeAndOrXor()
|
/external/llvm/lib/VMCore/ |
D | Constants.cpp | 141 Constant *Constant::getAllOnesValue(Type *Ty) { in getAllOnesValue() function in Constant 144 APInt::getAllOnesValue(ITy->getBitWidth())); in getAllOnesValue() 147 APFloat FL = APFloat::getAllOnesValue(Ty->getPrimitiveSizeInBits(), in getAllOnesValue() 154 getAllOnesValue(VTy->getElementType())); in getAllOnesValue() 1919 return get(Instruction::Xor, C, Constant::getAllOnesValue(C->getType())); in getNot() 2028 return Constant::getAllOnesValue(Ty); in getBinOpIdentity() 2043 return Constant::getAllOnesValue(Ty); in getBinOpAbsorber()
|
D | ConstantFold.cpp | 46 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector() 917 return Constant::getAllOnesValue(C1->getType()); // undef | X -> ~0 in ConstantFoldBinaryInstruction() 925 return Constant::getAllOnesValue(C1->getType()); in ConstantFoldBinaryInstruction() 1590 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction() 1668 case FCmpInst::FCMP_TRUE: return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction()
|
D | Type.cpp | 355 return APInt::getAllOnesValue(getBitWidth()); in getMask()
|
D | Instructions.cpp | 1899 Constant *C = Constant::getAllOnesValue(Op->getType()); in CreateNot() 1906 Constant *AllOnes = Constant::getAllOnesValue(Op->getType()); in CreateNot()
|
/external/clang/lib/CodeGen/ |
D | ItaniumCXXABI.cpp | 374 llvm::Value *null = llvm::Constant::getAllOnesValue(src->getType()); in EmitMemberPointerConversion() 650 llvm::Constant::getAllOnesValue(MemPtr->getType()); in EmitMemberPointerIsNotNull()
|
D | CGExprCXX.cpp | 652 size = llvm::Constant::getAllOnesValue(CGF.SizeTy); in EmitCXXNewAllocSize() 794 llvm::Constant::getAllOnesValue(CGF.SizeTy), in EmitCXXNewAllocSize()
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 69 APInt u128max = APInt::getAllOnesValue(128); in TEST()
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 3254 APFloat::getAllOnesValue(unsigned BitWidth, bool isIEEE) in getAllOnesValue() function in APFloat 3256 return APFloat(APInt::getAllOnesValue(BitWidth), isIEEE); in getAllOnesValue()
|