Home
last modified time | relevance | path

Searched refs:IdxVal (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersChecker.cpp126 SVal IdxVal = State->getSVal(IdxExpr, C.getLocationContext()); in checkPreStmt() local
127 if (IdxVal.isUnknownOrUndef()) in checkPreStmt()
129 DefinedSVal Idx = IdxVal.castAs<DefinedSVal>(); in checkPreStmt()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp713 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecRes_EXTRACT_SUBVECTOR() local
715 DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), in SplitVecRes_EXTRACT_SUBVECTOR()
751 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT() local
753 if (IdxVal < LoNumElts) in SplitVecRes_INSERT_VECTOR_ELT()
758 DAG.getConstant(IdxVal - LoNumElts, in SplitVecRes_INSERT_VECTOR_ELT()
1194 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecOp_EXTRACT_SUBVECTOR() local
1196 if (IdxVal < LoElts) { in SplitVecOp_EXTRACT_SUBVECTOR()
1197 assert(IdxVal + SubVT.getVectorNumElements() <= LoElts && in SplitVecOp_EXTRACT_SUBVECTOR()
1202 DAG.getConstant(IdxVal - LoElts, Idx.getValueType())); in SplitVecOp_EXTRACT_SUBVECTOR()
1212 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecOp_EXTRACT_VECTOR_ELT() local
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp259 uint64_t IdxVal = Idx->getZExtValue(); in FoldCmpLoadFromIndexedGlobal() local
260 if ((unsigned)IdxVal != IdxVal) return 0; // Too large array index. in FoldCmpLoadFromIndexedGlobal()
263 EltTy = STy->getElementType(IdxVal); in FoldCmpLoadFromIndexedGlobal()
265 if (IdxVal >= ATy->getNumElements()) return 0; in FoldCmpLoadFromIndexedGlobal()
271 LaterIndices.push_back(IdxVal); in FoldCmpLoadFromIndexedGlobal()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp61 static SDValue ExtractSubVector(SDValue Vec, unsigned IdxVal, in ExtractSubVector() argument
81 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits()) / vectorWidth) in ExtractSubVector()
102 static SDValue Extract128BitVector(SDValue Vec, unsigned IdxVal, in Extract128BitVector() argument
106 return ExtractSubVector(Vec, IdxVal, DAG, dl, 128); in Extract128BitVector()
110 static SDValue Extract256BitVector(SDValue Vec, unsigned IdxVal, in Extract256BitVector() argument
113 return ExtractSubVector(Vec, IdxVal, DAG, dl, 256); in Extract256BitVector()
117 unsigned IdxVal, SelectionDAG &DAG, in InsertSubVector() argument
133 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits())/vectorWidth) in InsertSubVector()
147 unsigned IdxVal, SelectionDAG &DAG, in Insert128BitVector() argument
150 return InsertSubVector(Result, Vec, IdxVal, DAG, dl, 128); in Insert128BitVector()
[all …]
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp634 ConstantInt *IdxVal = dyn_cast<ConstantInt>(GEPI.getOperand()); in IsUserOfGlobalSafeForSRA() local
635 if (!IdxVal || IdxVal->getZExtValue() >= NumElements) in IsUserOfGlobalSafeForSRA()
/external/llvm/lib/IR/
DConstantFold.cpp766 const APInt &IdxVal = CIdx->getValue(); in ConstantFoldInsertElementInstruction() local
771 if (i == IdxVal) { in ConstantFoldInsertElementInstruction()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1726 ConstantInt *IdxVal = dyn_cast<ConstantInt>(GEPIt.getOperand()); in isSafeGEP() local
1727 if (!IdxVal) in isSafeGEP()