Home
last modified time | relevance | path

Searched refs:IsInBounds (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h376 IsInBounds = (1 << 0), enumerator
382 (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); in setIsInBounds()
388 return SubclassOptionalData & IsInBounds; in isInBounds()
H A DConstantFolder.h107 bool IsInBounds = false) const override {
116 if (IsInBounds)
H A DIRBuilderFolder.h55 bool IsInBounds = false) const = 0;
H A DNoFolder.h78 bool IsInBounds = false) const override {
H A DIRBuilder.h1866 const Twine &Name = "", bool IsInBounds = false) {
1867 if (auto *V = Folder.FoldGEP(Ty, Ptr, IdxList, IsInBounds))
1869 return Insert(IsInBounds
1978 bool IsInBounds = false) {
1979 return CreateGEP(getInt8Ty(), Ptr, Offset, Name, IsInBounds);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInstSimplifyFolder.h80 bool IsInBounds = false) const override {
81 return simplifyGEPInst(Ty, Ptr, IdxList, IsInBounds, SQ);
H A DTargetFolder.h118 bool IsInBounds = false) const override {
126 if (IsInBounds)
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h910 char IsInBounds : 1; member
911 GEPFlagsTy(bool IsInBounds) : IsInBounds(IsInBounds) {} in GEPFlagsTy()
974 GEPFlags.IsInBounds = GEP->isInBounds(); in VPRecipeWithIRFlags()
1038 GEPFlags.IsInBounds = false; in dropPoisonGeneratingFlags()
1067 cast<GetElementPtrInst>(I)->setIsInBounds(GEPFlags.IsInBounds); in setFlags()
1096 return GEPFlags.IsInBounds; in isInBounds()
1447 bool IsInBounds, DebugLoc DL) in VPVectorPointerRecipe() argument
1449 GEPFlagsTy(IsInBounds), DL), in VPVectorPointerRecipe()
H A DVPlanRecipes.cpp738 if (GEPFlags.IsInBounds) in printFlags()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2133 bool IsInBounds = GEP.isInBounds(); in foldSelectGEP() local
2135 Value *NewTrueC = Builder.CreateGEP(Ty, TrueC, IndexC, "", IsInBounds); in foldSelectGEP()
2136 Value *NewFalseC = Builder.CreateGEP(Ty, FalseC, IndexC, "", IsInBounds); in foldSelectGEP()
2201 bool IsInBounds = isMergedGEPInBounds(*Src, *cast<GEPOperator>(&GEP)); in visitGEPOfGEP() local
2211 IsInBounds &= Idx.isNonNegative() == ConstIndices[0].isNonNegative(); in visitGEPOfGEP()
2216 Indices, "", IsInBounds)); in visitGEPOfGEP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp2501 bool IsInBounds = Src->isInBounds() && GEP->isInBounds() && in hoistGEP() local
2509 "invariant.gep", IsInBounds); in hoistGEP()
2513 IsInBounds); in hoistGEP()
H A DSROA.cpp3979 bool IsInBounds = GEPI.isInBounds(); in foldGEPSelect() local
3984 IsInBounds); in foldGEPSelect()
3989 False->getName() + ".sroa.gep", IsInBounds); in foldGEPSelect()
4028 bool IsInBounds = GEPI.isInBounds(); in foldGEPPhi() local
4044 IsInBounds); in foldGEPPhi()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp2310 unsigned SubClassOptionalData = InBounds ? GEPOperator::IsInBounds : 0; in getGetElementPtr()