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/
DLocal.h37 bool isInBounds = GEPOp->isInBounds() && !NoAssumptions; variable
71 ConstantExpr::getMul(OC, Scale, false /*NUW*/, isInBounds /*NSW*/);
88 isInBounds /*NSW*/);
/third_party/qrcodegen/c/
Dqrcodegen-test.c484 bool isInBounds = 0 <= x && x < size && 0 <= y && y < size; in testGetSetModuleRandomly() local
485 bool oldColor = isInBounds && modules[y][x]; in testGetSetModuleRandomly()
486 if (isInBounds) in testGetSetModuleRandomly()
491 if (isInBounds) in testGetSetModuleRandomly()
493 if (isInBounds && rand() % 2 == 0) in testGetSetModuleRandomly()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp264 DestGEP->setIsInBounds(SrcGEP->isInBounds() | DestGEP->isInBounds()); in copyIRFlags()
289 DestGEP->setIsInBounds(SrcGEP->isInBounds() & DestGEP->isInBounds()); in andIRFlags()
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/
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() && NSW in visitGetElementPtrInst()
2168 GEP.isInBounds() && NSW in visitGetElementPtrInst()
[all …]
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()
DInstCombinePHI.cpp411 AllInBounds &= GEP->isInBounds(); in FoldPHIArgGEPIntoPHI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalSplit.cpp129 GEP->isInBounds()); in splitGlobal()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
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()
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/
DSeparateConstOffsetFromGEP.cpp743 GEP->isInBounds()); in Extract()
759 GEP->isInBounds()) in Find()
1015 bool GEPWasInBounds = GEP->isInBounds(); in splitGEP()
DNaryReassociate.cpp432 NewGEP->setIsInBounds(GEP->isInBounds()); in tryReassociateGEPAtIndex()
DStraightLineStrengthReduce.cpp669 bool InBounds = cast<GetElementPtrInst>(C.Ins)->isInBounds(); in rewriteCandidateWithBasis()
DInferAddressSpaces.cpp488 NewGEP->setIsInBounds(GEP->isInBounds()); in cloneInstructionWithNewAddressSpace()
DScalarizer.cpp656 if (GEPI.isInBounds()) in visitGetElementPtrInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCaptureTracking.cpp46 if (GEP->isInBounds()) in isDereferenceableOrNull()
DPHITransAddr.cpp410 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()
DConstantFolding.cpp826 bool InBounds = GEP->isInBounds(); in SymbolicallyEvaluateGEP()
879 InBounds &= GEP->isInBounds(); in SymbolicallyEvaluateGEP()
1037 Ops.slice(1), GEP->isInBounds(), in ConstantFoldInstOperandsImpl()
DInlineCost.cpp877 if ((I.isInBounds() && canFoldInboundsGEP(I)) || IsGEPOffsetConstant(I)) { in visitGetElementPtr()
1839 if (!GEP->isInBounds() || !accumulateGEPOffset(*GEP, Offset)) in stripAndComputeInBoundsConstantOffsets()
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/Transforms/Utils/
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/Target/NVPTX/
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/
DOperator.h471 bool isInBounds() const { in isInBounds() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp591 if (!GEP->isInBounds()) in collectUsesWithPtrTypes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLoopInstrFormPrep.cpp261 return GEP->isInBounds(); in IsPtrInBounds()

123