Home
last modified time | relevance | path

Searched refs:IndexVal (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp149 unsigned IndexVal = IdxC->getZExtValue(); in visitExtractElementInst() local
154 if (IndexVal >= VectorWidth) in visitExtractElementInst()
163 DemandedMask.setBit(IndexVal); in visitExtractElementInst()
171 if (Value *Elt = FindScalarElement(EI.getOperand(0), IndexVal)) in visitExtractElementInst()
181 if (Value *Elt = FindScalarElement(BCI->getOperand(0), IndexVal)) in visitExtractElementInst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp160 unsigned IndexVal = IdxC->getZExtValue(); in visitExtractElementInst() local
164 assert(IndexVal < VectorWidth); in visitExtractElementInst()
172 DemandedMask.setBit(IndexVal); in visitExtractElementInst()
186 if (Value *Elt = findScalarElement(BCI->getOperand(0), IndexVal)) in visitExtractElementInst()
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc279 Value IndexVal(Data->IndexType, Index); in handleOutOfBoundsImpl() local
281 << IndexVal << Data->ArrayType; in handleOutOfBoundsImpl()
/external/llvm/lib/IR/
DConstantFold.cpp2041 int64_t IndexVal = CI->getSExtValue(); in isIndexInRangeOfSequentialType() local
2042 if (IndexVal < 0 || (NumElements > 0 && (uint64_t)IndexVal >= NumElements)) in isIndexInRangeOfSequentialType()
/external/clang/lib/CodeGen/
DCGExpr.cpp756 llvm::Value *IndexVal = Builder.CreateIntCast(Index, SizeTy, IndexSigned); in EmitBoundsCheck() local
764 llvm::Value *Check = Accessed ? Builder.CreateICmpULT(IndexVal, BoundVal) in EmitBoundsCheck()
765 : Builder.CreateICmpULE(IndexVal, BoundVal); in EmitBoundsCheck()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp3752 Value *IndexVal = GEP->getOperand(1); in getUniformBase() local
3756 if (!SDB->findValue(Ptr) || !SDB->findValue(IndexVal)) in getUniformBase()
3760 Index = SDB->getValue(IndexVal); in getUniformBase()
3763 if (SExtInst* Sext = dyn_cast<SExtInst>(IndexVal)) { in getUniformBase()
3765 IndexVal = Sext->getOperand(0); in getUniformBase()
3766 Index = SDB->getValue(IndexVal); in getUniformBase()