Home
last modified time | relevance | path

Searched refs:IdxVal (Results 1 – 9 of 9) 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.cpp812 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecRes_EXTRACT_SUBVECTOR() local
814 DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), in SplitVecRes_EXTRACT_SUBVECTOR()
888 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT() local
890 if (IdxVal < LoNumElts) in SplitVecRes_INSERT_VECTOR_ELT()
895 DAG.getConstant(IdxVal - LoNumElts, in SplitVecRes_INSERT_VECTOR_ELT()
1428 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecOp_EXTRACT_SUBVECTOR() local
1430 if (IdxVal < LoElts) { in SplitVecOp_EXTRACT_SUBVECTOR()
1431 assert(IdxVal + SubVT.getVectorNumElements() <= LoElts && in SplitVecOp_EXTRACT_SUBVECTOR()
1436 DAG.getConstant(IdxVal - LoElts, Idx.getValueType())); in SplitVecOp_EXTRACT_SUBVECTOR()
1446 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in SplitVecOp_EXTRACT_VECTOR_ELT() local
[all …]
DLegalizeFloatTypes.cpp1824 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue(); in PromoteFloatRes_EXTRACT_VECTOR_ELT() local
1845 if (IdxVal < LoElts) in PromoteFloatRes_EXTRACT_VECTOR_ELT()
1849 DAG.getConstant(IdxVal - LoElts, in PromoteFloatRes_EXTRACT_VECTOR_ELT()
DSelectionDAGBuilder.cpp5439 unsigned IdxVal = unsigned(Idx->getLimitedValue(INT_MAX)); in visitIntrinsicCall() local
5442 GlobalValue::getRealLinkageName(Fn->getName()), IdxVal); in visitIntrinsicCall()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp3990 static SDValue ExtractSubVector(SDValue Vec, unsigned IdxVal, in ExtractSubVector() argument
4010 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits()) / vectorWidth) in ExtractSubVector()
4029 static SDValue Extract128BitVector(SDValue Vec, unsigned IdxVal, in Extract128BitVector() argument
4033 return ExtractSubVector(Vec, IdxVal, DAG, dl, 128); in Extract128BitVector()
4037 static SDValue Extract256BitVector(SDValue Vec, unsigned IdxVal, in Extract256BitVector() argument
4040 return ExtractSubVector(Vec, IdxVal, DAG, dl, 256); in Extract256BitVector()
4044 unsigned IdxVal, SelectionDAG &DAG, in InsertSubVector() argument
4060 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits())/vectorWidth) in InsertSubVector()
4073 static SDValue Insert128BitVector(SDValue Result, SDValue Vec, unsigned IdxVal, in Insert128BitVector() argument
4082 if (IdxVal == 0 && Result.getValueType().is256BitVector() && in Insert128BitVector()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp259 uint64_t IdxVal = Idx->getZExtValue(); in FoldCmpLoadFromIndexedGlobal() local
260 if ((unsigned)IdxVal != IdxVal) return nullptr; // Too large array index. in FoldCmpLoadFromIndexedGlobal()
263 EltTy = STy->getElementType(IdxVal); in FoldCmpLoadFromIndexedGlobal()
265 if (IdxVal >= ATy->getNumElements()) return nullptr; in FoldCmpLoadFromIndexedGlobal()
271 LaterIndices.push_back(IdxVal); in FoldCmpLoadFromIndexedGlobal()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp442 ConstantInt *IdxVal = dyn_cast<ConstantInt>(GEPI.getOperand()); in IsUserOfGlobalSafeForSRA() local
443 if (!IdxVal || IdxVal->getZExtValue() >= NumElements) in IsUserOfGlobalSafeForSRA()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1736 ConstantInt *IdxVal = dyn_cast<ConstantInt>(GEPIt.getOperand()); in isSafeGEP() local
1737 if (!IdxVal) in isSafeGEP()
/external/llvm/lib/IR/
DConstantFold.cpp806 const APInt &IdxVal = CIdx->getValue(); in ConstantFoldInsertElementInstruction() local
811 if (i == IdxVal) { in ConstantFoldInsertElementInstruction()