/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 141 return ConstantInt::getAllOnesValue(Tp); in getRandomConstant() 145 return ConstantFP::getAllOnesValue(Tp); in getRandomConstant() 163 return ConstantInt::getAllOnesValue(Tp); in getRandomValue() 167 return ConstantFP::getAllOnesValue(Tp); in getRandomValue() 358 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); in Act() 385 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 | 396 return getAllOnesValue(numBits); in getMaxValue() 401 APInt API = getAllOnesValue(numBits); in getSignedMaxValue() 427 static APInt getAllOnesValue(unsigned numBits) { in getAllOnesValue() function 486 return getAllOnesValue(numBits).shl(shiftAmt); in getHighBitsSet() 503 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet()
|
D | APFloat.h | 255 static APFloat getAllOnesValue(unsigned BitWidth, bool isIEEE = false);
|
/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 | 735 ConstantExpr::getSub(ConstantInt::getAllOnesValue(CI->getType()), CI); in FoldICmpAddOpCst() 1642 Constant *NegOne = Constant::getAllOnesValue(SrcTy); in visitICmpInstWithCastAndCast() 1780 if (!CI) return APInt::getAllOnesValue(BitWidth); in DemandedBitsLHSMask() 1803 return APInt::getAllOnesValue(BitWidth); in DemandedBitsLHSMask() 1966 APInt::getAllOnesValue(BitWidth), in visitICmpInst() 2090 Constant::getAllOnesValue(Op0->getType())); in visitICmpInst() 2412 Constant::getAllOnesValue(SRem->getType())); in visitICmpInst()
|
D | InstCombineMulDivRem.cpp | 631 Constant *N1 = Constant::getAllOnesValue(I.getType()); in visitURem()
|
D | InstCombineCasts.cpp | 921 ConstantInt::getAllOnesValue(CI.getType()) : in transformSExtICmp() 938 ConstantInt::getAllOnesValue(In->getType()), in transformSExtICmp()
|
D | InstCombineSelect.cpp | 116 return Constant::getAllOnesValue(I->getType()); in GetSelectFoldableConstant()
|
/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() 1823 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/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 415 APInt::getAllOnesValue(VT.getScalarType().getSizeInBits()), VT); in ExpandVSELECT() 489 DAG.getConstant(APInt::getAllOnesValue in UnrollVSETCC()
|
D | DAGCombiner.cpp | 138 APInt Demanded = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedBits() 2026 DAG.getConstant(APInt::getAllOnesValue(VT.getSizeInBits()), in visitUREM() 2429 APInt::getAllOnesValue(BitWidth))) in visitAND() 2494 Constant = APInt::getAllOnesValue(BitWidth); in visitAND() 2972 return DAG.getConstant(APInt::getAllOnesValue(EltVT.getSizeInBits()), VT); in visitOR() 3173 APInt Mask = APInt::getAllOnesValue(OpSizeInBits); in MatchRotate() 3490 APInt::getAllOnesValue(OpSizeInBits))) in visitSHL() 3762 APInt::getAllOnesValue(OpSizeInBits))) in visitSRL() 4395 DAG.getConstant(APInt::getAllOnesValue(ElementWidth), VT); in visitSIGN_EXTEND() 6903 Imm ^= APInt::getAllOnesValue(BitWidth); in ReduceLoadOpStoreWidth() [all …]
|
/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 | 214 Constant *Cst = Constant::getAllOnesValue(Neg->getType()); in LowerNegateToMultiply() 677 return Constant::getAllOnesValue(X->getType()); in OptimizeAndOrXor()
|
/external/llvm/lib/VMCore/ |
D | ConstantFold.cpp | 46 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector() 910 return Constant::getAllOnesValue(C1->getType()); // undef | X -> ~0 in ConstantFoldBinaryInstruction() 918 return Constant::getAllOnesValue(C1->getType()); in ConstantFoldBinaryInstruction() 1582 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction() 1660 case FCmpInst::FCMP_TRUE: return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction()
|
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()
|
D | Type.cpp | 355 return APInt::getAllOnesValue(getBitWidth()); in getMask()
|
D | Instructions.cpp | 1893 Constant *C = Constant::getAllOnesValue(Op->getType()); in CreateNot() 1900 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 | 614 size = llvm::Constant::getAllOnesValue(CGF.SizeTy); in EmitCXXNewAllocSize() 756 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 | 3208 APFloat::getAllOnesValue(unsigned BitWidth, bool isIEEE) in getAllOnesValue() function in APFloat 3210 return APFloat(APInt::getAllOnesValue(BitWidth), isIEEE); in getAllOnesValue()
|