Home
last modified time | relevance | path

Searched refs:idx_begin (Results 1 – 25 of 31) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc374 const size_t idx_begin, const size_t half_count) { in MinRange() argument
378 for (size_t idx = idx_begin; idx < idx_begin + half_count; ++idx) { in MinRange()
399 size_t idx_begin = 0; in ModeOfSorted() local
402 idx_begin = MinRange(sorted, idx_begin, half_count); in ModeOfSorted()
406 const T x = sorted[idx_begin + 0]; in ModeOfSorted()
411 const T average = (x + sorted[idx_begin + 1] + 1) / 2; in ModeOfSorted()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DOperator.h482 inline op_iterator idx_begin() { return op_begin()+1; } in idx_begin() function
483 inline const_op_iterator idx_begin() const { return op_begin()+1; } in idx_begin() function
522 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllZeroIndices()
535 for (const_op_iterator I = idx_begin(), E = idx_end(); I != E; ++I) { in hasAllConstantIndices()
543 return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { in countNonConstantIndices()
DInstructions.h1017 inline op_iterator idx_begin() { return op_begin()+1; }
1018 inline const_op_iterator idx_begin() const { return op_begin()+1; }
1023 return make_range(idx_begin(), idx_end());
1027 return make_range(idx_begin(), idx_end());
2347 inline idx_iterator idx_begin() const { return Indices.begin(); }
2350 return make_range(idx_begin(), idx_end());
2468 inline idx_iterator idx_begin() const { return Indices.begin(); }
2471 return make_range(idx_begin(), idx_end());
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp112 if (SelIVI->getNumIndices() == 1 && *SelIVI->idx_begin() == 1) { in GetExceptionObject()
115 ExcIVI->getNumIndices() == 1 && *ExcIVI->idx_begin() == 0) { in GetExceptionObject()
DSjLjEHPrepare.cpp146 if (*EVI->idx_begin() == 0) in substituteLPadValues()
148 else if (*EVI->idx_begin() == 1) in substituteLPadValues()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp276 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in isGEPFoldable()
304 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) { in hasOnlyOneNonZeroIndex()
525 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in allocateCandidatesAndFindBasisForGEP()
DNaryReassociate.cpp301 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in isGEPFoldable()
373 for (auto Index = GEP->idx_begin(); Index != GEP->idx_end(); ++Index) in tryReassociateGEPAtIndex()
DGVN.cpp301 for (InsertValueInst::idx_iterator II = E->idx_begin(), IE = E->idx_end(); in createExpr()
336 if (WO != nullptr && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) { in createExtractvalueExpr()
353 for (ExtractValueInst::idx_iterator II = EI->idx_begin(), IE = EI->idx_end(); in createExtractvalueExpr()
1340 for (GetElementPtrInst::op_iterator OI = GEP->idx_begin(), in processNonLocalLoad()
DEarlyCSE.cpp273 hash_combine_range(EVI->idx_begin(), EVI->idx_end())); in getHashValueImpl()
278 hash_combine_range(IVI->idx_begin(), IVI->idx_end())); in getHashValueImpl()
DSCCP.cpp900 unsigned i = *EVI.idx_begin(); in visitExtractValueInst()
920 unsigned Idx = *IVI.idx_begin(); in visitInsertValueInst()
DInferAddressSpaces.cpp487 SmallVector<Value *, 4>(GEP->idx_begin(), GEP->idx_end())); in cloneInstructionWithNewAddressSpace()
DNewGVN.cpp1208 std::copy(II->idx_begin(), II->idx_end(), int_op_inserter(E)); in createAggregateValueExpression()
1215 std::copy(EI->idx_begin(), EI->idx_end(), int_op_inserter(E)); in createAggregateValueExpression()
1824 if (WO && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) in performSymbolicAggrValueEvaluation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp259 index = *EV->idx_begin(); in PropagateConstantReturn()
DArgumentPromotion.cpp442 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in doPromotion()
636 for (User::op_iterator II = GEP->idx_begin(), IE = GEP->idx_end(); in isSafeToPromoteArgument()
695 for (User::op_iterator i = GEP->idx_begin(), e = GEP->idx_end(); i != e; in isSafeToPromoteArgument()
DDeadArgumentElimination.cpp413 RetValNum = *IV->idx_begin(); in SurveyUse()
588 unsigned Idx = *Ext->idx_begin(); in SurveyFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1942 } else if (isa<Constant>(*GEP.idx_begin()) && in visitGetElementPtrInst()
1943 cast<Constant>(*GEP.idx_begin())->isNullValue() && in visitGetElementPtrInst()
1947 Indices.append(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst()
2030 SmallVector<Value*, 8> Idx(GEP.idx_begin()+1, GEP.idx_end()); in visitGetElementPtrInst()
2067 SmallVector<Value*, 8> Idx(GEP.idx_begin(), GEP.idx_end()); in visitGetElementPtrInst()
2707 for (exti = EV.idx_begin(), insi = IV->idx_begin(), in visitExtractValueInst()
2762 if (*EV.idx_begin() == 0) { in visitExtractValueInst()
2790 for (ExtractValueInst::idx_iterator I = EV.idx_begin(), E = EV.idx_end(); in visitExtractValueInst()
DInstCombineLoadStoreAlloca.cpp310 Indices.append(GEP->idx_begin(), GEP->idx_end()); in replace()
876 SmallVector<Value *, 4> Ops(GEPI->idx_begin(), GEPI->idx_begin() + Idx); in canReplaceGEPIdxWithZero()
1098 if (!CI || IV->getNumIndices() != 1 || CI->getZExtValue() != *IV->idx_begin()) in likeBitCastFromVector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp339 if (GepI->idx_begin() == GepI->idx_end()) in isHandledGepForm()
361 N->Idx = *GepI->idx_begin(); in processGepInst()
384 for (User::op_iterator OI = GepI->idx_begin()+1, OE = GepI->idx_end(); in processGepInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp709 for (User::op_iterator I = GEP.idx_begin(), E = GEP.idx_end(); I != E; ++I) in isGEPFree()
871 for (User::op_iterator I = GEP.idx_begin(), E = GEP.idx_end(); I != E; ++I) in visitGetElementPtr()
DBasicAliasAnalysis.cpp1659 isa<ConstantInt>(PV1GEP->idx_begin())) { in aliasPHI()
1686 isa<ConstantInt>(PV1GEP->idx_begin())) { in aliasPHI()
DLazyValueInfo.cpp1170 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 0) in solveBlockValueExtractValue()
1291 if (EVI->getNumIndices() == 1 && *EVI->idx_begin() == 1) in getValueFromConditionImpl()
DLoopAccessAnalysis.cpp964 for (Value *Index : make_range(GEP->idx_begin(), GEP->idx_end())) in isNoWrapAddRec()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp806 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I) in InjectTraceForGep()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp470 return *EI->idx_begin(); in getExtractIndex()
5844 auto Idx = GEP->idx_begin()->get(); in collectSeedInstructions()
7427 } else if (GEPI->idx_begin()->get() == GEPJ->idx_begin()->get()) { in vectorizeGEPIndices()
7445 auto *GEPIdx = GEP->idx_begin()->get(); in vectorizeGEPIndices()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1938 ExtractValueInst::idx_iterator IdxBegin = I.idx_begin(); in visitExtractValueInst()
1983 ExtractValueInst::idx_iterator IdxBegin = I.idx_begin(); in visitInsertValueInst()

12