|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Constant.h 171 static Constant *getAllOnesValue(Type* Ty);
References
lib/Analysis/ConstantFolding.cpp 104 return Constant::getAllOnesValue(DestTy);
2188 return Constant::getAllOnesValue(Ty);
lib/Analysis/InstructionSimplify.cpp 472 SimplifyXorInst(Cond, Constant::getAllOnesValue(Cond->getType()),
605 return Constant::getAllOnesValue(Ty);
1114 return Constant::getAllOnesValue(Op0->getType());
1351 return Constant::getAllOnesValue(Op0->getType());
2068 return Constant::getAllOnesValue(Op0->getType());
2078 return Constant::getAllOnesValue(Op0->getType());
2090 return Constant::getAllOnesValue(Op1->getType());
2094 return Constant::getAllOnesValue(Op0->getType());
2223 return Constant::getAllOnesValue(Op0->getType());
5041 return Constant::getAllOnesValue(ReturnType);
5049 return Constant::getAllOnesValue(ReturnType);
lib/Analysis/ScalarEvolution.cpp 3955 V, getConstant(cast<ConstantInt>(Constant::getAllOnesValue(Ty))), Flags);
4000 getConstant(cast<ConstantInt>(Constant::getAllOnesValue(Ty)));
lib/CodeGen/GlobalISel/IRTranslator.cpp 352 Res, getOrCreateVReg(*Constant::getAllOnesValue(U.getType())));
lib/IR/AutoUpgrade.cpp 1168 return Constant::getAllOnesValue(Ty); // TRUE
1340 Cmp = Constant::getAllOnesValue(llvm::VectorType::get(Builder.getInt1Ty(), NumElts));
1899 C = ConstantInt::getAllOnesValue(Builder.getInt16Ty());
lib/IR/ConstantFold.cpp 47 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy);
1046 return Constant::getAllOnesValue(C1->getType()); // undef | X -> ~0
1799 return Constant::getAllOnesValue(ResultTy);
1884 case FCmpInst::FCMP_TRUE: return Constant::getAllOnesValue(ResultTy);
lib/IR/Constants.cpp 356 getAllOnesValue(VTy->getElementType()));
2247 return get(Instruction::Xor, C, Constant::getAllOnesValue(C->getType()));
2352 return Constant::getAllOnesValue(Ty);
2391 return Constant::getAllOnesValue(Ty);
lib/IR/Core.cpp 1021 return wrap(Constant::getAllOnesValue(unwrap(Ty)));
lib/IR/IRBuilder.cpp 531 Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context),
567 Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context),
lib/IR/Instructions.cpp 2410 Constant *C = Constant::getAllOnesValue(Op->getType());
2417 Constant *AllOnes = Constant::getAllOnesValue(Op->getType());
lib/Target/X86/X86InstrInfo.cpp 5338 const Constant *C = IsAllOnes ? Constant::getAllOnesValue(Ty) :
lib/Transforms/InstCombine/InstCombineAddSub.cpp 1066 Constant *MinusOne = Constant::getAllOnesValue(NBits->getType());
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 339 L12 = Constant::getAllOnesValue(L1->getType());
344 L22 = Constant::getAllOnesValue(L2->getType());
374 R12 = Constant::getAllOnesValue(R1->getType());
398 R12 = Constant::getAllOnesValue(R2->getType());
2723 return SelectInst::Create(NewICmpInst, ConstantInt::getAllOnesValue(Ty),
2840 Value *MinusOne = ConstantInt::getAllOnesValue(LHS0->getType());
lib/Transforms/InstCombine/InstCombineCasts.cpp 1262 ConstantInt::getAllOnesValue(CI.getType()) :
1279 ConstantInt::getAllOnesValue(In->getType()),
lib/Transforms/InstCombine/InstCombineCompares.cpp 1354 Value *Mask = Builder.CreateAdd(Y, Constant::getAllOnesValue(Y->getType()));
1587 ConstantInt::getAllOnesValue(X->getType()));
2757 ConstantInt::getAllOnesValue(X->getType()));
3073 IsZero ? Constant::getNullValue(Ty) : Constant::getAllOnesValue(Ty);
3918 Constant::getAllOnesValue(SRem->getType()));
4382 return new ICmpInst(CmpInst::ICMP_SGT, X, Constant::getAllOnesValue(SrcTy));
5470 Constant *AllOnes = Constant::getAllOnesValue(Op0->getType());
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp 992 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty));
1365 Constant *N1 = Constant::getAllOnesValue(Ty);
1387 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty));
lib/Transforms/InstCombine/InstCombineShifts.cpp 224 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy);
254 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy);
934 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty);
1088 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty);
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1545 return Constant::getAllOnesValue(ShadowTy);
2234 Value *MinusOne = Constant::getAllOnesValue(Sc->getType());
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 440 SanCovLowestStack->setInitializer(Constant::getAllOnesValue(IntptrTy));
lib/Transforms/Scalar/LoopStrengthReduce.cpp 427 const SCEV *NegOne = SE.getSCEV(ConstantInt::getAllOnesValue(
lib/Transforms/Scalar/LoopUnswitch.cpp 775 auto *AllOne = cast<ConstantInt>(Constant::getAllOnesValue(SC->getType()));
lib/Transforms/Scalar/Reassociate.cpp 275 ConstantInt::getAllOnesValue(Ty) : ConstantFP::get(Ty, -1.0);
1146 return Constant::getAllOnesValue(X->getType());
1500 return Constant::getAllOnesValue(X->getType());
1514 Value *V = Constant::getAllOnesValue(X->getType());
lib/Transforms/Scalar/SCCP.cpp 1558 markForcedConstant(&I, Constant::getAllOnesValue(ITy));
lib/Transforms/Scalar/SROA.cpp 2741 Constant::getAllOnesValue(SplatIntTy),
2742 ConstantExpr::getZExt(Constant::getAllOnesValue(V->getType()),
tools/clang/lib/CodeGen/CGBuiltin.cpp 9645 return llvm::Constant::getAllOnesValue(Ty); // TRUE
9717 Cmp = Constant::getAllOnesValue(
11466 Value *C = llvm::Constant::getAllOnesValue(Ops[0]->getType());
tools/clang/lib/CodeGen/CGExprCXX.cpp 781 size = llvm::Constant::getAllOnesValue(CGF.SizeTy);
923 llvm::Constant::getAllOnesValue(CGF.SizeTy),
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 864 llvm::Value *null = llvm::Constant::getAllOnesValue(src->getType());
1123 llvm::Constant::getAllOnesValue(MemPtr->getType());
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 561 return llvm::Constant::getAllOnesValue(CGM.IntTy);
tools/llvm-stress/llvm-stress.cpp 212 return ConstantInt::getAllOnesValue(Tp);
216 return ConstantFP::getAllOnesValue(Tp);
234 return ConstantInt::getAllOnesValue(Tp);
238 return ConstantFP::getAllOnesValue(Tp);
425 return PT->push_back(ConstantVector::getAllOnesValue(Ty));
unittests/IR/ValueTest.cpp 57 Constant::getAllOnesValue(Int32Ty),
79 Constant::getAllOnesValue(Int32Ty),
100 Constant::getAllOnesValue(Int32Ty), "var", nullptr,