/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCContainersChecker.cpp | 131 SVal IdxVal = State->getSVal(IdxExpr, C.getLocationContext()); in checkPreStmt() local 132 if (IdxVal.isUnknownOrUndef()) in checkPreStmt() 134 DefinedSVal Idx = IdxVal.castAs<DefinedSVal>(); in checkPreStmt()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 614 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecRes_EXTRACT_SUBVECTOR() local 616 DAG.getIntPtrConstant(IdxVal + LoVT.getVectorNumElements())); in SplitVecRes_EXTRACT_SUBVECTOR() 651 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT() local 653 if (IdxVal < LoNumElts) in SplitVecRes_INSERT_VECTOR_ELT() 658 DAG.getIntPtrConstant(IdxVal - LoNumElts)); in SplitVecRes_INSERT_VECTOR_ELT() 1056 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecOp_EXTRACT_SUBVECTOR() local 1058 if (IdxVal < LoElts) { in SplitVecOp_EXTRACT_SUBVECTOR() 1059 assert(IdxVal + SubVT.getVectorNumElements() <= LoElts && in SplitVecOp_EXTRACT_SUBVECTOR() 1064 DAG.getConstant(IdxVal - LoElts, Idx.getValueType())); in SplitVecOp_EXTRACT_SUBVECTOR() 1074 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecOp_EXTRACT_VECTOR_ELT() local [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 839 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecRes_EXTRACT_SUBVECTOR() local 841 DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), dl, in SplitVecRes_EXTRACT_SUBVECTOR() 865 unsigned IdxVal = ConstIdx->getZExtValue(); in SplitVecRes_INSERT_SUBVECTOR() local 866 if ((IdxVal == 0) && (IdxVal + SubElems <= VecElems / 2)) { in SplitVecRes_INSERT_SUBVECTOR() 986 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT() local 988 if (IdxVal < LoNumElts) in SplitVecRes_INSERT_VECTOR_ELT() 994 DAG.getConstant(IdxVal - LoNumElts, dl, in SplitVecRes_INSERT_VECTOR_ELT() 1602 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecOp_EXTRACT_SUBVECTOR() local 1604 if (IdxVal < LoElts) { in SplitVecOp_EXTRACT_SUBVECTOR() 1605 assert(IdxVal + SubVT.getVectorNumElements() <= LoElts && in SplitVecOp_EXTRACT_SUBVECTOR() [all …]
|
D | LegalizeFloatTypes.cpp | 1962 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in PromoteFloatRes_EXTRACT_VECTOR_ELT() local 1983 if (IdxVal < LoElts) in PromoteFloatRes_EXTRACT_VECTOR_ELT() 1987 DAG.getConstant(IdxVal - LoElts, DL, in PromoteFloatRes_EXTRACT_VECTOR_ELT()
|
D | SelectionDAGBuilder.cpp | 5647 unsigned IdxVal = unsigned(Idx->getLimitedValue(INT_MAX)); in visitIntrinsicCall() local 5650 GlobalValue::getRealLinkageName(Fn->getName()), IdxVal); in visitIntrinsicCall()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 229 uint64_t IdxVal = Idx->getZExtValue(); in FoldCmpLoadFromIndexedGlobal() local 230 if ((unsigned)IdxVal != IdxVal) return 0; // Too large array index. in FoldCmpLoadFromIndexedGlobal() 233 EltTy = STy->getElementType(IdxVal); in FoldCmpLoadFromIndexedGlobal() 235 if (IdxVal >= ATy->getNumElements()) return 0; in FoldCmpLoadFromIndexedGlobal() 241 LaterIndices.push_back(IdxVal); in FoldCmpLoadFromIndexedGlobal()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 264 uint64_t IdxVal = Idx->getZExtValue(); in FoldCmpLoadFromIndexedGlobal() local 265 if ((unsigned)IdxVal != IdxVal) return nullptr; // Too large array index. in FoldCmpLoadFromIndexedGlobal() 268 EltTy = STy->getElementType(IdxVal); in FoldCmpLoadFromIndexedGlobal() 270 if (IdxVal >= ATy->getNumElements()) return nullptr; in FoldCmpLoadFromIndexedGlobal() 276 LaterIndices.push_back(IdxVal); in FoldCmpLoadFromIndexedGlobal()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 404 ConstantInt *IdxVal = dyn_cast<ConstantInt>(GEPI.getOperand()); in IsUserOfGlobalSafeForSRA() local 405 if (!IdxVal || IdxVal->getZExtValue() >= NumElements) in IsUserOfGlobalSafeForSRA()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 466 ConstantInt *IdxVal = dyn_cast<ConstantInt>(GEPI.getOperand()); in IsUserOfGlobalSafeForSRA() local 467 if (!IdxVal || IdxVal->getZExtValue() >= NumElements) in IsUserOfGlobalSafeForSRA()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 815 uint64_t IdxVal = CIdx->getZExtValue(); in ConstantFoldInsertElementInstruction() local 817 if (i == IdxVal) { in ConstantFoldInsertElementInstruction()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 1627 ConstantInt *IdxVal = dyn_cast<ConstantInt>(GEPIt.getOperand()); in isSafeGEP() local 1628 if (!IdxVal) in isSafeGEP()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 96 unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in Extract128BitVector() local 104 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits()) / 128) in Extract128BitVector() 132 unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in Insert128BitVector() local 140 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits())/128) in Insert128BitVector() 6924 unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in LowerEXTRACT_VECTOR_ELT() local 6927 bool Upper = IdxVal >= NumElems/2; in LowerEXTRACT_VECTOR_ELT() 6932 Upper ? DAG.getConstant(IdxVal-NumElems/2, MVT::i32) : Idx); in LowerEXTRACT_VECTOR_ELT() 7065 unsigned IdxVal = cast<ConstantSDNode>(N2)->getZExtValue(); in LowerINSERT_VECTOR_ELT() local 7066 bool Upper = IdxVal >= NumElems/2; in LowerINSERT_VECTOR_ELT() 7072 N1, Upper ? DAG.getConstant(IdxVal-NumElems/2, MVT::i32) : N2); in LowerINSERT_VECTOR_ELT()
|