Searched refs:IdxVal (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCContainersChecker.cpp | 133 SVal IdxVal = State->getSVal(IdxExpr, C.getLocationContext()); in checkPreStmt() local 134 if (IdxVal.isUnknownOrUndef()) in checkPreStmt() 136 DefinedSVal Idx = cast<DefinedSVal>(IdxVal); in checkPreStmt()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 692 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecRes_EXTRACT_SUBVECTOR() local 694 DAG.getIntPtrConstant(IdxVal + LoVT.getVectorNumElements())); in SplitVecRes_EXTRACT_SUBVECTOR() 729 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT() local 731 if (IdxVal < LoNumElts) in SplitVecRes_INSERT_VECTOR_ELT() 736 DAG.getIntPtrConstant(IdxVal - LoNumElts)); in SplitVecRes_INSERT_VECTOR_ELT() 1109 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecOp_EXTRACT_SUBVECTOR() local 1111 if (IdxVal < LoElts) { in SplitVecOp_EXTRACT_SUBVECTOR() 1112 assert(IdxVal + SubVT.getVectorNumElements() <= LoElts && in SplitVecOp_EXTRACT_SUBVECTOR() 1117 DAG.getConstant(IdxVal - LoElts, Idx.getValueType())); in SplitVecOp_EXTRACT_SUBVECTOR() 1127 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecOp_EXTRACT_VECTOR_ELT() local [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 234 uint64_t IdxVal = Idx->getZExtValue(); in FoldCmpLoadFromIndexedGlobal() local 235 if ((unsigned)IdxVal != IdxVal) return 0; // Too large array index. in FoldCmpLoadFromIndexedGlobal() 238 EltTy = STy->getElementType(IdxVal); in FoldCmpLoadFromIndexedGlobal() 240 if (IdxVal >= ATy->getNumElements()) return 0; in FoldCmpLoadFromIndexedGlobal() 246 LaterIndices.push_back(IdxVal); in FoldCmpLoadFromIndexedGlobal()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 629 ConstantInt *IdxVal = dyn_cast<ConstantInt>(GEPI.getOperand()); in IsUserOfGlobalSafeForSRA() local 630 if (!IdxVal || IdxVal->getZExtValue() >= NumElements) in IsUserOfGlobalSafeForSRA()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 66 static SDValue Extract128BitVector(SDValue Vec, unsigned IdxVal, in Extract128BitVector() argument 85 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits()) / 128) in Extract128BitVector() 101 unsigned IdxVal, SelectionDAG &DAG, in Insert128BitVector() argument 118 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits())/128) in Insert128BitVector() 6997 unsigned IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in LowerEXTRACT_VECTOR_ELT() local 7000 Vec = Extract128BitVector(Vec, IdxVal, DAG, dl); in LowerEXTRACT_VECTOR_ELT() 7002 if (IdxVal >= NumElems/2) in LowerEXTRACT_VECTOR_ELT() 7003 IdxVal -= NumElems/2; in LowerEXTRACT_VECTOR_ELT() 7005 DAG.getConstant(IdxVal, MVT::i32)); in LowerEXTRACT_VECTOR_ELT() 7146 unsigned IdxVal = cast<ConstantSDNode>(N2)->getZExtValue(); in LowerINSERT_VECTOR_ELT() local [all …]
|
/external/llvm/lib/VMCore/ |
D | ConstantFold.cpp | 763 const APInt &IdxVal = CIdx->getValue(); in ConstantFoldInsertElementInstruction() local 768 if (i == IdxVal) { in ConstantFoldInsertElementInstruction()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 1726 ConstantInt *IdxVal = dyn_cast<ConstantInt>(GEPIt.getOperand()); in isSafeGEP() local 1727 if (!IdxVal) { in isSafeGEP()
|