Home
last modified time | relevance | path

Searched refs:IndexVal (Results 1 – 12 of 12) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroutines.cpp109 auto *IndexVal = ConstantInt::get(Type::getInt8Ty(Context), Index); in makeSubFnCall() local
115 auto *Call = CallInst::Create(Fn, {Arg, IndexVal}, "", InsertPt); in makeSubFnCall()
DCoroSplit.cpp104 ConstantInt *IndexVal = Shape.getIndex(SuspendIndex); in createResumeEntryBlock() local
121 Builder.CreateStore(IndexVal, GepIndex); in createResumeEntryBlock()
154 Switch->addCase(IndexVal, ResumeBB); in createResumeEntryBlock()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp190 unsigned IndexVal = IdxC->getZExtValue(); in visitExtractElementInst() local
198 DemandedMask.setBit(IndexVal); in visitExtractElementInst()
212 if (Value *Elt = findScalarElement(BCI->getOperand(0), IndexVal)) in visitExtractElementInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp2060 int64_t IndexVal = CI->getSExtValue(); in isIndexInRangeOfArrayType() local
2061 if (IndexVal < 0 || (NumElements > 0 && (uint64_t)IndexVal >= NumElements)) in isIndexInRangeOfArrayType()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp3958 Value *IndexVal = GEP->getOperand(FinalIndex); in getUniformBase() local
3969 if (!SDB->findValue(Ptr) || !SDB->findValue(IndexVal)) in getUniformBase()
3977 Index = SDB->getValue(IndexVal); in getUniformBase()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp9996 uint64_t IndexVal = CIndex->getZExtValue(); in replaceSplatVectorStore() local
9997 if (IndexVal >= NumVecElts) in replaceSplatVectorStore()
9999 IndexNotInserted.reset(IndexVal); in replaceSplatVectorStore()