/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 915 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecRes_EXTRACT_SUBVECTOR() local 917 DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), dl, in SplitVecRes_EXTRACT_SUBVECTOR() 940 unsigned IdxVal = ConstIdx->getZExtValue(); in SplitVecRes_INSERT_SUBVECTOR() local 941 if ((IdxVal == 0) && (IdxVal + SubElems <= VecElems / 2)) { in SplitVecRes_INSERT_SUBVECTOR() 1115 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT() local 1117 if (IdxVal < LoNumElts) in SplitVecRes_INSERT_VECTOR_ELT() 1123 DAG.getConstant(IdxVal - LoNumElts, dl, in SplitVecRes_INSERT_VECTOR_ELT() 1806 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecOp_EXTRACT_SUBVECTOR() local 1808 if (IdxVal < LoElts) { in SplitVecOp_EXTRACT_SUBVECTOR() 1809 assert(IdxVal + SubVT.getVectorNumElements() <= LoElts && in SplitVecOp_EXTRACT_SUBVECTOR() [all …]
|
D | LegalizeFloatTypes.cpp | 1985 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in PromoteFloatRes_EXTRACT_VECTOR_ELT() local 2006 if (IdxVal < LoElts) in PromoteFloatRes_EXTRACT_VECTOR_ELT() 2010 DAG.getConstant(IdxVal - LoElts, DL, in PromoteFloatRes_EXTRACT_VECTOR_ELT()
|
D | SelectionDAGBuilder.cpp | 6071 unsigned IdxVal = in visitIntrinsicCall() local 6075 GlobalValue::dropLLVMManglingEscape(Fn->getName()), IdxVal); in visitIntrinsicCall()
|
D | DAGCombiner.cpp | 16472 unsigned IdxVal = (Idx->getZExtValue() * NVT.getScalarSizeInBits()) / in visitEXTRACT_SUBVECTOR() local 16475 SDValue Src = V->getOperand(IdxVal); in visitEXTRACT_SUBVECTOR() 16484 makeArrayRef(V->op_begin() + IdxVal, in visitEXTRACT_SUBVECTOR()
|
/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/Target/X86/ |
D | X86ISelLowering.cpp | 4416 static SDValue extractSubVector(SDValue Vec, unsigned IdxVal, SelectionDAG &DAG, in extractSubVector() argument 4436 IdxVal &= ~(ElemsPerChunk - 1); in extractSubVector() 4441 dl, ResultVT, makeArrayRef(Vec->op_begin() + IdxVal, ElemsPerChunk)); in extractSubVector() 4443 SDValue VecIdx = DAG.getIntPtrConstant(IdxVal, dl); in extractSubVector() 4453 static SDValue extract128BitVector(SDValue Vec, unsigned IdxVal, in extract128BitVector() argument 4457 return extractSubVector(Vec, IdxVal, DAG, dl, 128); in extract128BitVector() 4461 static SDValue extract256BitVector(SDValue Vec, unsigned IdxVal, in extract256BitVector() argument 4464 return extractSubVector(Vec, IdxVal, DAG, dl, 256); in extract256BitVector() 4467 static SDValue insertSubVector(SDValue Result, SDValue Vec, unsigned IdxVal, in insertSubVector() argument 4485 IdxVal &= ~(ElemsPerChunk - 1); in insertSubVector() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 5099 static SDValue extractSubVector(SDValue Vec, unsigned IdxVal, SelectionDAG &DAG, in extractSubVector() argument 5113 IdxVal &= ~(ElemsPerChunk - 1); in extractSubVector() 5118 Vec->ops().slice(IdxVal, ElemsPerChunk)); in extractSubVector() 5120 SDValue VecIdx = DAG.getIntPtrConstant(IdxVal, dl); in extractSubVector() 5130 static SDValue extract128BitVector(SDValue Vec, unsigned IdxVal, in extract128BitVector() argument 5134 return extractSubVector(Vec, IdxVal, DAG, dl, 128); in extract128BitVector() 5138 static SDValue extract256BitVector(SDValue Vec, unsigned IdxVal, in extract256BitVector() argument 5141 return extractSubVector(Vec, IdxVal, DAG, dl, 256); in extract256BitVector() 5144 static SDValue insertSubVector(SDValue Result, SDValue Vec, unsigned IdxVal, in insertSubVector() argument 5162 IdxVal &= ~(ElemsPerChunk - 1); in insertSubVector() [all …]
|
/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-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 207 uint64_t IdxVal = Idx->getZExtValue(); in foldCmpLoadFromIndexedGlobal() local 208 if ((unsigned)IdxVal != IdxVal) return nullptr; // Too large array index. in foldCmpLoadFromIndexedGlobal() 211 EltTy = STy->getElementType(IdxVal); in foldCmpLoadFromIndexedGlobal() 213 if (IdxVal >= ATy->getNumElements()) return nullptr; in foldCmpLoadFromIndexedGlobal() 219 LaterIndices.push_back(IdxVal); in foldCmpLoadFromIndexedGlobal()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 385 ConstantInt *IdxVal = dyn_cast<ConstantInt>(GEPI.getOperand()); in isSafeSROAGEP() local 386 if (!IdxVal || (GEPI.isBoundedSequential() && in isSafeSROAGEP() 387 IdxVal->getZExtValue() >= GEPI.getSequentialNumElements())) in isSafeSROAGEP()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 821 uint64_t IdxVal = CIdx->getZExtValue(); in ConstantFoldInsertElementInstruction() local 823 if (i == IdxVal) { in ConstantFoldInsertElementInstruction()
|
/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()
|