Home
last modified time | relevance | path

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

/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-10.0/llvm/lib/Transforms/Coroutines/
DCoroutines.cpp110 auto *IndexVal = ConstantInt::get(Type::getInt8Ty(Context), Index); in makeSubFnCall() local
116 auto *Call = CallInst::Create(Fn, {Arg, IndexVal}, "", InsertPt); in makeSubFnCall()
DCoroSplit.cpp295 ConstantInt *IndexVal = Shape.getIndex(SuspendIndex); in createResumeEntryBlock() local
313 Builder.CreateStore(IndexVal, GepIndex); in createResumeEntryBlock()
346 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/llvm-project/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.cpp306 ConstantInt *IndexVal = Shape.getIndex(SuspendIndex); in createResumeEntryBlock() local
324 Builder.CreateStore(IndexVal, GepIndex); in createResumeEntryBlock()
357 Switch->addCase(IndexVal, ResumeBB); in createResumeEntryBlock()
/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_handlers.cpp391 Value IndexVal(Data->IndexType, Index); in handleOutOfBoundsImpl() local
393 << IndexVal << Data->ArrayType; in handleOutOfBoundsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp2181 int64_t IndexVal = CI->getSExtValue(); in isIndexInRangeOfArrayType() local
2182 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/llvm-project/llvm/lib/IR/
DConstantFold.cpp2325 int64_t IndexVal = CI->getSExtValue(); in isIndexInRangeOfArrayType() local
2326 if (IndexVal < 0 || (NumElements > 0 && (uint64_t)IndexVal >= NumElements)) in isIndexInRangeOfArrayType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp1291 unsigned IndexVal = in LowerSIGN_EXTEND_INREG() local
1297 DAG.getConstant(IndexVal * Scale, DL, Index.getValueType()); in LowerSIGN_EXTEND_INREG()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp1545 unsigned IndexVal = cast<ConstantSDNode>(Index)->getZExtValue(); in LowerSIGN_EXTEND_INREG() local
1550 DAG.getConstant(IndexVal * Scale, DL, Index->getValueType(0)); in LowerSIGN_EXTEND_INREG()
/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/llvm-project/clang/lib/CodeGen/
DCGExpr.cpp1005 llvm::Value *IndexVal = Builder.CreateIntCast(Index, SizeTy, IndexSigned); in EmitBoundsCheck() local
1013 llvm::Value *Check = Accessed ? Builder.CreateICmpULT(IndexVal, BoundVal) in EmitBoundsCheck()
1014 : Builder.CreateICmpULE(IndexVal, BoundVal); in EmitBoundsCheck()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp4391 Value *IndexVal = GEP->getOperand(FinalIndex); in getUniformBase() local
4410 Constant *C = dyn_cast<Constant>(IndexVal); in getUniformBase()
4411 if (!C && !SDB->findValue(IndexVal)) in getUniformBase()
4435 Index = SDB->getValue(IndexVal); in getUniformBase()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp4261 const Value *IndexVal = GEP->getOperand(GEP->getNumOperands() - 1); in getUniformBase() local
4264 if (BasePtr->getType()->isVectorTy() || !IndexVal->getType()->isVectorTy()) in getUniformBase()
4268 Index = SDB->getValue(IndexVal); in getUniformBase()
DDAGCombiner.cpp18237 unsigned IndexVal = in visitEXTRACT_VECTOR_ELT() local
18239 SDValue Elt = VecOp.getOperand(IndexVal); in visitEXTRACT_VECTOR_ELT()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp11402 uint64_t IndexVal = CIndex->getZExtValue(); in replaceSplatVectorStore() local
11403 if (IndexVal >= NumVecElts) in replaceSplatVectorStore()
11405 IndexNotInserted.reset(IndexVal); in replaceSplatVectorStore()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp13818 uint64_t IndexVal = CIndex->getZExtValue(); in replaceSplatVectorStore() local
13819 if (IndexVal >= NumVecElts) in replaceSplatVectorStore()
13821 IndexNotInserted.reset(IndexVal); in replaceSplatVectorStore()