reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Instructions.h
 1088   bool isInBounds() const;

References

lib/Analysis/CaptureTracking.cpp
   46     if (GEP->isInBounds())
lib/Analysis/DependenceAnalysis.cpp
 1047     Inbounds = SrcGEP->isInBounds();
lib/Analysis/InlineCost.cpp
  596   if ((I.isInBounds() && canFoldInboundsGEP(I)) || IsGEPOffsetConstant(I)) {
lib/Analysis/InstructionSimplify.cpp
 3436            (GLHS->isInBounds() && GRHS->isInBounds() &&
lib/Analysis/LoopAccessAnalysis.cpp
  937     return GEP->isInBounds();
  958   if (!GEP || !GEP->isInBounds())
lib/Analysis/PHITransAddr.cpp
  410     Result->setIsInBounds(GEP->isInBounds());
lib/Bitcode/Writer/BitcodeWriter.cpp
 2646     Vals.push_back(GEPInst.isInBounds());
lib/CodeGen/CodeGenPrepare.cpp
 6909     if (!GEPI->isInBounds()) {
lib/IR/Core.cpp
 2928   return unwrap<GetElementPtrInst>(GEP)->isInBounds();
lib/IR/Instruction.cpp
  264       DestGEP->setIsInBounds(SrcGEP->isInBounds() | DestGEP->isInBounds());
  264       DestGEP->setIsInBounds(SrcGEP->isInBounds() | DestGEP->isInBounds());
  289       DestGEP->setIsInBounds(SrcGEP->isInBounds() & DestGEP->isInBounds());
  289       DestGEP->setIsInBounds(SrcGEP->isInBounds() & DestGEP->isInBounds());
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  589       if (!GEP->isInBounds())
lib/Target/Hexagon/HexagonCommonGEP.cpp
  348   uint32_t InBounds = GepI->isInBounds() ? GepNode::InBounds : 0;
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  170     return GEP->isInBounds();
lib/Transforms/IPO/GlobalOpt.cpp
  333         if (Init && isa<ConstantAggregateZero>(Init) && GEP->isInBounds())
lib/Transforms/InstCombine/InstCombineCompares.cpp
  313   if (!GEP->isInBounds()) {
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  894   if (Idx+1 != GEPI->getNumOperands() && !GEPI->isInBounds())
lib/Transforms/InstCombine/InstCombinePHI.cpp
  399     AllInBounds &= GEP->isInBounds();
lib/Transforms/InstCombine/InstCombineSelect.cpp
  407     return TGEP->isInBounds() && FGEP->isInBounds()
  407     return TGEP->isInBounds() && FGEP->isInBounds()
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1282       GEP->setIsInBounds(cast<GetElementPtrInst>(I)->isInBounds());
lib/Transforms/InstCombine/InstructionCombining.cpp
 1843             NewGEP->setIsInBounds(GEP.isInBounds());
 1904       return GEP.isInBounds() && Src->isInBounds()
 1986           Res->setIsInBounds(GEP.isInBounds());
 2022                 GEP.isInBounds()
 2041             GEP.isInBounds()
 2077                 GEP.isInBounds() && NSW
 2121                 GEP.isInBounds() && NSW
 2172           GEP.isInBounds()
 2220             GEP.isInBounds()
 2235   if (!GEP.isInBounds()) {
lib/Transforms/Scalar/InferAddressSpaces.cpp
  488     NewGEP->setIsInBounds(GEP->isInBounds());
lib/Transforms/Scalar/NaryReassociate.cpp
  431   NewGEP->setIsInBounds(GEP->isInBounds());
lib/Transforms/Scalar/SROA.cpp
  727     if (SROAStrictInbounds && GEPI.isInBounds()) {
lib/Transforms/Scalar/Scalarizer.cpp
  636     if (GEPI.isInBounds())
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  742                      GEP->isInBounds());
  758             GEP->isInBounds())
 1014   bool GEPWasInBounds = GEP->isInBounds();
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  668       bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds();
lib/Transforms/Vectorize/LoopVectorize.cpp
 2202     InBounds = gep->isInBounds();
 2395     InBounds = gep->isInBounds();
 4123             GEP->isInBounds()
unittests/IR/InstructionsTest.cpp
  652     ASSERT_TRUE(GI->isInBounds());
  654     ASSERT_FALSE(GI->isInBounds());
unittests/Transforms/Utils/CloningTest.cpp
  145   EXPECT_FALSE(this->clone(GEP)->isInBounds());
  148   EXPECT_TRUE(this->clone(GEP)->isInBounds());