/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cc | 279 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/ |
D | Coroutines.cpp | 110 auto *IndexVal = ConstantInt::get(Type::getInt8Ty(Context), Index); in makeSubFnCall() local 116 auto *Call = CallInst::Create(Fn, {Arg, IndexVal}, "", InsertPt); in makeSubFnCall()
|
D | CoroSplit.cpp | 295 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/ |
D | InstCombineVectorOps.cpp | 160 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/ |
D | Coroutines.cpp | 109 auto *IndexVal = ConstantInt::get(Type::getInt8Ty(Context), Index); in makeSubFnCall() local 115 auto *Call = CallInst::Create(Fn, {Arg, IndexVal}, "", InsertPt); in makeSubFnCall()
|
D | CoroSplit.cpp | 306 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/ |
D | ubsan_handlers.cpp | 391 Value IndexVal(Data->IndexType, Index); in handleOutOfBoundsImpl() local 393 << IndexVal << Data->ArrayType; in handleOutOfBoundsImpl()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 2181 int64_t IndexVal = CI->getSExtValue(); in isIndexInRangeOfArrayType() local 2182 if (IndexVal < 0 || (NumElements > 0 && (uint64_t)IndexVal >= NumElements)) in isIndexInRangeOfArrayType()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 2041 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/ |
D | ConstantFold.cpp | 2325 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/ |
D | WebAssemblyISelLowering.cpp | 1291 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/ |
D | WebAssemblyISelLowering.cpp | 1545 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/ |
D | CGExpr.cpp | 756 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/ |
D | SelectionDAGBuilder.cpp | 3752 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/ |
D | CGExpr.cpp | 1005 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/ |
D | SelectionDAGBuilder.cpp | 4391 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/ |
D | SelectionDAGBuilder.cpp | 4261 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()
|
D | DAGCombiner.cpp | 18237 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/ |
D | AArch64ISelLowering.cpp | 11402 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/ |
D | AArch64ISelLowering.cpp | 13818 uint64_t IndexVal = CIndex->getZExtValue(); in replaceSplatVectorStore() local 13819 if (IndexVal >= NumVecElts) in replaceSplatVectorStore() 13821 IndexNotInserted.reset(IndexVal); in replaceSplatVectorStore()
|