Home
last modified time | relevance | path

Searched refs:isInBounds (Results 1 - 25 of 51) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/
H A DLocal.h37 bool isInBounds = GEPOp->isInBounds() && !NoAssumptions; in EmitGEPOffset() local
71 ConstantExpr::getMul(OC, Scale, false /*NUW*/, isInBounds /*NSW*/); in EmitGEPOffset()
88 isInBounds /*NSW*/); in EmitGEPOffset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DInstruction.cpp264 DestGEP->setIsInBounds(SrcGEP->isInBounds() | DestGEP->isInBounds()); in copyIRFlags()
289 DestGEP->setIsInBounds(SrcGEP->isInBounds() & DestGEP->isInBounds()); in andIRFlags()
H A DValue.cpp491 if (!GEP->isInBounds()) in stripPointerCastsAndOffsets()
568 if (!AllowNonInbounds && !GEP->isInBounds()) in stripAndAccumulateConstantOffsets()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1654 if (!GEP1.isInBounds() && !GEP2.isInBounds()) in isMergedGEPInBounds()
1657 return (GEP1.isInBounds() || GEP1.hasAllZeroIndices()) && in isMergedGEPInBounds()
1658 (GEP2.isInBounds() || GEP2.hasAllZeroIndices()); in isMergedGEPInBounds()
1887 NewSrc->setIsInBounds(Src->isInBounds()); in visitGetElementPtrInst()
1889 NewGEP->setIsInBounds(GEP.isInBounds()); in visitGetElementPtrInst()
2033 Res->setIsInBounds(GEP.isInBounds()); in visitGetElementPtrInst()
2069 GEP.isInBounds() in visitGetElementPtrInst()
2088 GEP.isInBounds() in visitGetElementPtrInst()
2124 GEP.isInBounds() in visitGetElementPtrInst()
[all...]
H A DInstCombineCompares.cpp313 if (!GEP->isInBounds()) { in foldCmpLoadFromIndexedGlobal()
566 if (GEP->getNumIndices() != 1 || !GEP->isInBounds() || in canRewriteGEPAsOffset()
772 if (!GEP->isInBounds()) in getAsConstantIndexedAddress()
862 if (PtrBase == RHS && GEPLHS->isInBounds() && in foldGEPICmp()
877 if (GEPLHS->isInBounds() && ICmpInst::isEquality(Cond) && in foldGEPICmp()
929 if (GEPLHS->isInBounds() && GEPRHS->isInBounds() && in foldGEPICmp()
973 bool GEPsInBounds = GEPLHS->isInBounds() && GEPRHS->isInBounds(); in foldGEPICmp()
H A DInstCombinePHI.cpp411 AllInBounds &= GEP->isInBounds(); in FoldPHIArgGEPIntoPHI()
/third_party/qrcodegen/c/
H A Dqrcodegen-test.c511 bool isInBounds = 0 <= x && x < size && 0 <= y && y < size; in testGetSetModuleRandomly() local
512 bool oldColor = isInBounds && modules[y][x]; in testGetSetModuleRandomly()
513 if (isInBounds) in testGetSetModuleRandomly()
518 if (isInBounds) in testGetSetModuleRandomly()
520 if (isInBounds && rand() % 2 == 0) in testGetSetModuleRandomly()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp129 GEP->isInBounds()); in splitGlobal()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DShaderCore.hpp120 SIMD::Int isInBounds(unsigned int accessSize, OutOfBoundsBehavior robustness) const;
344 mask &= isInBounds(sizeof(float), robustness); // Disable out-of-bounds reads. in Load()
433 mask &= isInBounds(sizeof(float), robustness); // Disable out-of-bounds writes. in Store()
H A DSpirvShaderImage.cpp774 SIMD::Int mask = state->activeLaneMask() & texelPtr.isInBounds(2, robustness); in EmitImageRead()
787 SIMD::Int mask = state->activeLaneMask() & texelPtr.isInBounds(1, robustness); in EmitImageRead()
1377 mask = mask & texelPtr.isInBounds(2, robustness); in WriteImage()
1390 mask = mask & texelPtr.isInBounds(1, robustness); in WriteImage()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp743 GEP->isInBounds()); in Extract()
759 GEP->isInBounds()) in Find()
1015 bool GEPWasInBounds = GEP->isInBounds(); in splitGEP()
H A DNaryReassociate.cpp432 NewGEP->setIsInBounds(GEP->isInBounds()); in tryReassociateGEPAtIndex()
H A DStraightLineStrengthReduce.cpp669 bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds(); in rewriteCandidateWithBasis()
H A DInferAddressSpaces.cpp488 NewGEP->setIsInBounds(GEP->isInBounds()); in cloneInstructionWithNewAddressSpace()
H A DScalarizer.cpp656 if (GEPI.isInBounds()) in visitGetElementPtrInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp145 cast<GEPOperator>(CE)->isInBounds()) { in isSimpleEnoughPointerToCommit()
441 cast<GEPOperator>(GEP)->isInBounds()); in EvaluateBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DCaptureTracking.cpp46 if (GEP->isInBounds()) in isDereferenceableOrNull()
H A DPHITransAddr.cpp410 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
H A DConstantFolding.cpp826 bool InBounds = GEP->isInBounds(); in SymbolicallyEvaluateGEP()
879 InBounds &= GEP->isInBounds(); in SymbolicallyEvaluateGEP()
1037 Ops.slice(1), GEP->isInBounds(), in ConstantFoldInstOperandsImpl()
H A DInlineCost.cpp877 if ((I.isInBounds() && canFoldInboundsGEP(I)) || IsGEPOffsetConstant(I)) { in visitGetElementPtr()
1839 if (!GEP->isInBounds() || !accumulateGEPOffset(*GEP, Offset)) in stripAndComputeInBoundsConstantOffsets()
H A DLoopAccessAnalysis.cpp938 return GEP->isInBounds(); in isInBoundsGep()
959 if (!GEP || !GEP->isInBounds()) in isNoWrapAddRec()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp286 return cast<GEPOperator>(C)->isInBounds() in remapConstantExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DOperator.h471 bool isInBounds() const { in isInBounds() function in llvm::GEPOperator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp591 if (!GEP->isInBounds()) in collectUsesWithPtrTypes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp261 return GEP->isInBounds(); in IsPtrInBounds()

Completed in 47 milliseconds

123