| /freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-stress/ |
| HD | llvm-stress.cpp | 220 return ConstantInt::getAllOnesValue(Tp); in getRandomConstant() 224 return ConstantFP::getAllOnesValue(Tp); in getRandomConstant() 242 return ConstantInt::getAllOnesValue(Tp); in getRandomValue() 246 return ConstantFP::getAllOnesValue(Tp); in getRandomValue() 423 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); in Act()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | Constant.h | 194 static Constant *getAllOnesValue(Type* Ty);
|
| HD | IRBuilder.h | 847 return Constant::getAllOnesValue(VTy); in getAllOnesMask() 1689 return CreateSelect(Cond1, ConstantInt::getAllOnesValue(Cond2->getType()), 1755 return CreateXor(V, Constant::getAllOnesValue(V->getType()), Name); 2565 return CreateICmpSGT(Arg, ConstantInt::getAllOnesValue(Arg->getType()),
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| HD | ExpandReductions.cpp | 109 Rdx, ConstantInt::getAllOnesValue(Rdx->getType())); in expandReductions()
|
| HD | ReplaceWithVeclib.cpp | 83 Constant::getAllOnesValue(MaskTy)); in replaceWithTLIFunction()
|
| HD | ExpandVectorPredication.cpp | 383 return ConstantInt::getAllOnesValue(EltTy); in getNeutralReductionElement()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineShifts.cpp | 259 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy); in dropRedundantMaskingOfLeftShiftInput() 304 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy); in dropRedundantMaskingOfLeftShiftInput() 1212 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitShl() 1219 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitShl() 1581 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitLShr() 1588 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitLShr()
|
| HD | InstCombineMulDivRem.cpp | 653 Constant *NegOne = ConstantInt::getAllOnesValue(Y->getType()); in foldPowiReassoc() 666 Constant *NegOne = ConstantInt::getAllOnesValue(Y->getType()); in foldPowiReassoc() 1552 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty)); in visitUDiv() 1673 ConstantInt::getAllOnesValue(Ty)); in visitSDiv() 1717 ConstantInt::getAllOnesValue(Ty)); in visitSDiv() 2184 Constant *N1 = Constant::getAllOnesValue(Ty); in visitURem() 2216 Builder.CreateICmpEQ(FrozenOp0, ConstantInt::getAllOnesValue(Ty)); in visitURem()
|
| HD | InstCombineAndOrXor.cpp | 224 L12 = Constant::getAllOnesValue(L1->getType()); in getMaskedTypeForICmpPair() 229 L22 = Constant::getAllOnesValue(L2->getType()); in getMaskedTypeForICmpPair() 259 R12 = Constant::getAllOnesValue(R1->getType()); in getMaskedTypeForICmpPair() 283 R12 = Constant::getAllOnesValue(R2->getType()); in getMaskedTypeForICmpPair() 2822 simplifyAndOrWithOpReplaced(Op0, Op1, Constant::getAllOnesValue(Ty), in visitAnd() 2826 simplifyAndOrWithOpReplaced(Op1, Op0, Constant::getAllOnesValue(Ty), in visitAnd() 3393 Constant::getAllOnesValue(LHS0->getType())); in foldAndOrOfICmps() 3814 return SelectInst::Create(A, ConstantInt::getAllOnesValue(Ty), B); in visitOr() 3851 Value *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitOr() 3946 return BinaryOperator::CreateLShr(Constant::getAllOnesValue(Ty), Sub); in visitOr() [all …]
|
| HD | InstCombineCompares.cpp | 1164 Value *Mask = Builder.CreateAdd(Y, Constant::getAllOnesValue(Y->getType())); in foldIRemByPowerOfTwoToBitTest() 1488 ConstantInt::getAllOnesValue(SrcTy)); in foldICmpTruncConstant() 1582 ConstantInt::getAllOnesValue(X->getType())); in foldICmpXorConstant() 2561 ConstantInt::getAllOnesValue(ShrTy)); in foldICmpShrConstant() 3294 ConstantInt::getAllOnesValue(X->getType())); in foldICmpBitCast() 3329 ConstantInt::getAllOnesValue(NewType)); in foldICmpBitCast() 3663 : Constant::getAllOnesValue(Ty)); in foldICmpEqIntrinsicWithConstant() 4021 ConstantInt::getAllOnesValue(Ty)); in foldICmpIntrinsicWithConstant() 4025 ConstantInt::getAllOnesValue(Ty)); in foldICmpIntrinsicWithConstant() 4798 Constant::getAllOnesValue(Op1->getType())); in foldICmpAndXX() [all …]
|
| HD | InstCombineAddSub.cpp | 1219 Constant *MinusOne = Constant::getAllOnesValue(NBits->getType()); in canonicalizeLowbitMask() 1656 Builder.CreateAdd(A, Constant::getAllOnesValue(A->getType()), "", in visitAdd() 1666 Constant *AllOnes = ConstantInt::getAllOnesValue(RHS->getType()); in visitAdd() 1683 return BinaryOperator::CreateAdd(NewMul, ConstantInt::getAllOnesValue(Ty)); in visitAdd() 1804 Value *Sub = Builder.CreateAdd(A, Constant::getAllOnesValue(A->getType())); in visitAdd() 2433 Op1, Builder.CreateAdd(X, Constant::getAllOnesValue(I.getType())))); in visitSub()
|
| HD | InstCombineNegator.cpp | 415 Builder.CreateShl(Constant::getAllOnesValue(Op1C->getType()), Op1C), in visitImpl()
|
| HD | InstCombineCasts.cpp | 1330 ConstantInt::getAllOnesValue(Sext.getType()) : in transformSExtICmp() 1347 ConstantInt::getAllOnesValue(In->getType()), in transformSExtICmp()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
| HD | ConstantFold.cpp | 79 return Constant::getAllOnesValue(DestTy); in FoldBitCast() 684 return Constant::getAllOnesValue(C1->getType()); // undef | X -> ~0 in ConstantFoldBinaryInstruction() 1139 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction() 1168 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction()
|
| HD | Constants.cpp | 417 Constant *Constant::getAllOnesValue(Type *Ty) { in getAllOnesValue() function in Constant 423 APFloat FL = APFloat::getAllOnesValue(Ty->getFltSemantics()); in getAllOnesValue() 429 getAllOnesValue(VTy->getElementType())); in getAllOnesValue() 2596 return get(Instruction::Xor, C, Constant::getAllOnesValue(C->getType())); in getNot() 2667 return Constant::getAllOnesValue(Ty); in getBinOpIdentity() 2703 return Constant::getAllOnesValue(Ty); in getIntrinsicIdentity() 2731 return Constant::getAllOnesValue(Ty); in getBinOpAbsorber()
|
| HD | AutoUpgrade.cpp | 1786 return Constant::getAllOnesValue(Ty); // TRUE in upgradeX86vpcom() 1946 Cmp = Constant::getAllOnesValue( in upgradeMaskedCompare() 2437 C = ConstantInt::getAllOnesValue(Builder.getInt16Ty()); in upgradeX86IntrinsicCall() 2531 Value *Mask = Constant::getAllOnesValue(CI->getType()); in upgradeX86IntrinsicCall()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | InstructionSimplify.cpp | 210 Cond, Constant::getAllOnesValue(Cond->getType()), Q, MaxRecurse)) in handleOtherCmpSelSimplifications() 667 return Constant::getAllOnesValue(Ty); in simplifyAddInst() 1261 return Constant::getAllOnesValue(Op0->getType()); in simplifySDivInst() 1535 return Constant::getAllOnesValue(Op0->getType()); in simplifyAShrInst() 2011 : ConstantInt::getAllOnesValue(Ty); in simplifyLogicOfAddSub() 2261 return ConstantInt::getAllOnesValue(Ty); in simplifyOrLogic() 2265 return ConstantInt::getAllOnesValue(Ty); in simplifyOrLogic() 2283 return ConstantInt::getAllOnesValue(Ty); in simplifyOrLogic() 2307 return ConstantInt::getAllOnesValue(Ty); in simplifyOrLogic() 2359 return Constant::getAllOnesValue(Op0->getType()); in simplifyOrInst() [all …]
|
| HD | ConstantFolding.cpp | 771 return Constant::getAllOnesValue(Ty); in ConstantFoldLoadFromUniformValue() 2840 {Constant::getAllOnesValue(Ty->getStructElementType(0)), in ConstantFoldIntrinsicCall2() 2890 return Constant::getAllOnesValue(Ty); in ConstantFoldIntrinsicCall2()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | Reassociate.cpp | 294 ConstantInt::getAllOnesValue(Ty) : ConstantFP::get(Ty, -1.0); in LowerNegateToMultiply() 1205 return Constant::getAllOnesValue(X->getType()); in OptimizeAndOrXor() 1558 return Constant::getAllOnesValue(X->getType()); in OptimizeAdd() 1572 Value *V = Constant::getAllOnesValue(X->getType()); in OptimizeAdd()
|
| HD | LoopIdiomRecognize.cpp | 2646 Value *LowBitMask = Builder.CreateAdd(BitMask, Constant::getAllOnesValue(Ty), in recognizeShiftUntilBitTest() 2659 Builder.CreateAdd(XMaskedNumActiveBits, Constant::getAllOnesValue(Ty), in recognizeShiftUntilBitTest()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| HD | LoopUnrollRuntime.cpp | 779 B.CreateAdd(TripCount, Constant::getAllOnesValue(TripCount->getType())); in UnrollRuntimeLoopRemainder()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | CGExprCXX.cpp | 813 size = llvm::Constant::getAllOnesValue(CGF.SizeTy); in EmitCXXNewAllocSize() 955 llvm::Constant::getAllOnesValue(CGF.SizeTy), in EmitCXXNewAllocSize()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| HD | LoopIdiomVectorize.cpp | 519 Value *AllTrueMask = Constant::getAllOnesValue(TrueMaskTy); in createPredicatedFindMismatch()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| HD | SanitizerCoverage.cpp | 479 SanCovLowestStack->setInitializer(Constant::getAllOnesValue(IntptrTy)); in instrumentModule()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
| HD | APFloat.h | 1074 static APFloat getAllOnesValue(const fltSemantics &Semantics);
|