/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFPreserveStaticOffset.cpp | 192 bool InBounds; member 200 InBounds = true; in reset() 220 Args.push_back(ConstantInt::get(Int1Ty, GEP.InBounds)); in fillCommonArgs() 343 Info.InBounds = First->isInBounds(); in foldGEPChainAsStructAccess() 360 Info.InBounds &= GEP->isInBounds(); in foldGEPChainAsStructAccess() 387 Info.InBounds &= GEP->isInBounds(); in foldGEPChainAsU8Access()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 182 InBounds = 0x08, enumerator 236 if (GN.Flags & GepNode::InBounds) { in operator <<() 350 uint32_t InBounds = GepI->isInBounds() ? GepNode::InBounds : 0; in processGepInst() local 354 N->Flags |= GepNode::Root | InBounds; in processGepInst() 390 Nx->Flags |= GepNode::Internal | InBounds; in processGepInst() 1113 NewInst->setIsInBounds(RN->Flags & GepNode::InBounds); in fabricateGEP()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 553 std::optional<bool> InBounds; member 642 if (Decomposed.InBounds == std::nullopt) in DecomposeGEPExpression() 643 Decomposed.InBounds = GEPOp->isInBounds(); in DecomposeGEPExpression() 645 Decomposed.InBounds = false; in DecomposeGEPExpression() 1114 if (*DecompGEP1.InBounds && DecompGEP1.VarIndices.empty() && in aliasGEP() 1122 if (*DecompGEP2.InBounds && DecompGEP1.VarIndices.empty() && in aliasGEP()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | StraightLineStrengthReduce.cpp | 655 bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds(); in rewriteCandidateWithBasis() local 657 Reduced = Builder.CreatePtrAdd(Basis.Ins, Bump, "", InBounds); in rewriteCandidateWithBasis()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanRecipes.cpp | 1600 bool InBounds = isInBounds(); in execute() local 1613 PartPtr = Builder.CreateGEP(IndexedTy, Ptr, NumElt, "", InBounds); in execute() 1614 PartPtr = Builder.CreateGEP(IndexedTy, PartPtr, LastLane, "", InBounds); in execute() 1617 PartPtr = Builder.CreateGEP(IndexedTy, Ptr, Increment, "", InBounds); in execute() 2184 bool InBounds = false; in execute() local 2186 InBounds = gep->isInBounds(); in execute() 2187 AddrPart = State.Builder.CreateGEP(ScalarTy, AddrPart, Idx, "", InBounds); in execute()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 2773 bool InBounds = true; member 2803 if (InBounds != other.InBounds) in compare() 2902 if (InBounds) in print() 4239 TestAddrMode.InBounds = false; in matchScaledValue() 4300 TestAddrMode.InBounds = false; in matchScaledValue() 4870 AddrMode.InBounds = false; in matchOperationAddr() 4898 AddrMode.InBounds = false; in matchOperationAddr() 4954 AddrMode.InBounds = false; in matchOperationAddr() 4991 AddrMode.InBounds = false; in matchOperationAddr() 5709 AddrMode.InBounds); in optimizeMemoryInst() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerBufferFatPointers.cpp | 1256 bool InBounds = GEP.isInBounds(); in visitGetElementPtrInst() local 1280 /*hasNUW=*/InBounds && HasNonNegativeOff, in visitGetElementPtrInst()
|
/freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | Core.h | 3970 void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool InBounds);
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 3158 void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool InBounds) { in LLVMSetIsInBounds() argument 3159 return unwrap<GetElementPtrInst>(GEP)->setIsInBounds(InBounds); in LLVMSetIsInBounds()
|