Home
last modified time | relevance | path

Searched refs:StartIdx (Results 1 – 20 of 20) sorted by relevance

/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h363 for (unsigned StartIdx = 0; StartIdx <= Regs.size() - RegsRequired; in AllocateRegBlock() local
364 ++StartIdx) { in AllocateRegBlock()
368 if (isAllocated(Regs[StartIdx + BlockIdx])) { in AllocateRegBlock()
376 MarkAllocated(Regs[StartIdx + BlockIdx]); in AllocateRegBlock()
378 return Regs[StartIdx]; in AllocateRegBlock()
DStackMaps.h82 unsigned getNextScratchIdx(unsigned StartIdx = 0) const;
DFastISel.h568 const CallInst *CI, unsigned StartIdx);
DLiveInterval.h456 VNInfo *extendInBlock(SlotIndex StartIdx, SlotIndex Use);
/external/clang/include/clang/Lex/
DHeaderSearch.h197 unsigned StartIdx; member
205 LookupFileCacheInfo(): StartIdx(0), HitIdx(0), MappedName(nullptr) {} in LookupFileCacheInfo()
207 void reset(unsigned StartIdx) { in reset()
208 this->StartIdx = StartIdx; in reset()
/external/llvm/lib/CodeGen/
DStackMaps.cpp55 unsigned PatchPointOpers::getNextScratchIdx(unsigned StartIdx) const { in getNextScratchIdx()
56 if (!StartIdx) in getNextScratchIdx()
57 StartIdx = getVarIdx(); in getNextScratchIdx()
60 unsigned ScratchIdx = StartIdx, e = MI->getNumOperands(); in getNextScratchIdx()
372 const unsigned StartIdx = opers.getVarIdx(); in recordStatepoint() local
374 MI.operands_begin() + StartIdx, MI.operands_end(), in recordStatepoint()
DTargetInstrInfo.cpp387 unsigned StartIdx = 0; in foldPatchpoint() local
390 StartIdx = 2; // Skip ID, nShadowBytes. in foldPatchpoint()
395 StartIdx = opers.getVarIdx(); in foldPatchpoint()
405 if (Op < StartIdx) in foldPatchpoint()
414 for (unsigned i = 0; i < StartIdx; ++i) in foldPatchpoint()
417 for (unsigned i = StartIdx; i < MI->getNumOperands(); ++i) { in foldPatchpoint()
DLiveInterval.cpp92 VNInfo *extendInBlock(SlotIndex StartIdx, SlotIndex Use) { in extendInBlock() argument
100 if (I->end <= StartIdx) in extendInBlock()
511 VNInfo *LiveRange::extendInBlock(SlotIndex StartIdx, SlotIndex Kill) { in extendInBlock() argument
514 return CalcLiveRangeUtilSet(this).extendInBlock(StartIdx, Kill); in extendInBlock()
516 return CalcLiveRangeUtilVector(this).extendInBlock(StartIdx, Kill); in extendInBlock()
DRegAllocGreedy.cpp1614 SlotIndex StartIdx = in calcGapWeights() local
1635 Matrix->getLiveUnions()[*Units] .find(StartIdx); in calcGapWeights()
1659 LiveRange::const_iterator I = LR.find(StartIdx); in calcGapWeights()
/external/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp280 int StartIdx = NotSet; in trySequenceOfOnes() local
289 StartIdx = Idx; in trySequenceOfOnes()
295 if (StartIdx == NotSet || EndIdx == NotSet) in trySequenceOfOnes()
306 if (StartIdx > EndIdx) { in trySequenceOfOnes()
307 std::swap(StartIdx, EndIdx); in trySequenceOfOnes()
322 if ((Idx < StartIdx || EndIdx < Idx) && Chunk != Outside) { in trySequenceOfOnes()
333 } else if (Idx > StartIdx && Idx < EndIdx && Chunk != Inside) { in trySequenceOfOnes()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp806 unsigned StartIdx, EndIdx; member
819 : V(V), RLAmt(R), StartIdx(S), EndIdx(E), Repl32(false), Repl32CR(false), in BitGroup()
1024 if (BitGroups[0].StartIdx == 0 && in collectBitGroups()
1048 VRI.FirstGroupStartIdx = std::min(VRI.FirstGroupStartIdx, BG.StartIdx); in collectValueRotInfo()
1080 if (BG.StartIdx <= BG.EndIdx) { in assignRepl32BitGroups()
1081 for (unsigned i = BG.StartIdx; i <= BG.EndIdx; ++i) { in assignRepl32BitGroups()
1088 for (unsigned i = BG.StartIdx; i < Bits.size(); ++i) { in assignRepl32BitGroups()
1106 if (BG.StartIdx < 32 && BG.EndIdx < 32) { in assignRepl32BitGroups()
1117 " [" << BG.StartIdx << ", " << BG.EndIdx << "]\n"); in assignRepl32BitGroups()
1129 I->StartIdx == (IP->EndIdx + 1) % 64 && I != IP) { in assignRepl32BitGroups()
[all …]
/external/llvm/utils/TableGen/
DDAGISelMatcherEmitter.cpp55 unsigned StartIdx, formatted_raw_ostream &OS);
147 unsigned StartIdx = CurrentIdx; in EmitMatcher() local
202 return CurrentIdx - StartIdx + 1; in EmitMatcher()
275 unsigned StartIdx = CurrentIdx; in EmitMatcher() local
359 return CurrentIdx-StartIdx; in EmitMatcher()
DCodeGenSchedule.cpp949 bool IsRead, unsigned StartIdx);
1210 const SmallVectorImpl<unsigned> &RWSeq, bool IsRead, unsigned StartIdx) { in substituteVariantOperand() argument
1219 for (unsigned TransIdx = StartIdx, TransEnd = TransVec.size(); in substituteVariantOperand()
1253 unsigned StartIdx = TransVec.size(); in substituteVariants() local
1264 TransVec.begin() + StartIdx, E = TransVec.end(); I != E; ++I) { in substituteVariants()
1267 substituteVariantOperand(*WSI, /*IsRead=*/false, StartIdx); in substituteVariants()
1275 TransVec.begin() + StartIdx, E = TransVec.end(); I != E; ++I) { in substituteVariants()
1278 substituteVariantOperand(*RSI, /*IsRead=*/true, StartIdx); in substituteVariants()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp345 virtual Value *getStepVector(Value *Val, int StartIdx, Value *Step);
469 Value *getStepVector(Value *Val, int StartIdx, Value *Step) override;
1569 Value *InnerLoopVectorizer::getStepVector(Value *Val, int StartIdx, in getStepVector() argument
1584 Indices.push_back(ConstantInt::get(ITy, StartIdx + i)); in getStepVector()
2148 Value *StartIdx = ExtendedIdx = OldInduction ? in createEmptyLoop() local
2158 StartIdx, ConstantInt::get(IdxTy, 0), "overflow.check.anchor", in createEmptyLoop()
2222 Value *IdxEnd = BypassBuilder.CreateAdd(Count, StartIdx, "end.idx"); in createEmptyLoop()
2228 Value *IdxEndRoundDown = BypassBuilder.CreateAdd(CountRoundDown, StartIdx, in createEmptyLoop()
2234 BypassBuilder.CreateICmpEQ(IdxEndRoundDown, StartIdx, "cmp.zero"); in createEmptyLoop()
2398 ResumeVal->addIncoming(StartIdx, LoopBypassBlocks[I]); in createEmptyLoop()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp637 unsigned StartIdx = SimpVect.size(); in simplifyFAdd() local
658 if (StartIdx + 1 != SimpVect.size()) { in simplifyFAdd()
660 R = *SimpVect[StartIdx]; in simplifyFAdd()
661 for (unsigned Idx = StartIdx + 1; Idx < SimpVect.size(); Idx++) in simplifyFAdd()
665 SimpVect.resize(StartIdx); in simplifyFAdd()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp3220 int StartIdx[2]; // StartIdx to extract from in visitShuffleVector() local
3224 StartIdx[Input] = 0; in visitShuffleVector()
3230 StartIdx[Input] = (MinRange[Input]/MaskNumElts)*MaskNumElts; in visitShuffleVector()
3231 if (MaxRange[Input] - StartIdx[Input] < (int)MaskNumElts && in visitShuffleVector()
3232 StartIdx[Input] + MaskNumElts <= SrcNumElts) in visitShuffleVector()
3249 DAG.getConstant(StartIdx[Input], TLI.getVectorIdxTy())); in visitShuffleVector()
3258 Idx -= StartIdx[0]; in visitShuffleVector()
3260 Idx -= SrcNumElts + StartIdx[1] - MaskNumElts; in visitShuffleVector()
6914 static void addStackMapLiveVars(ImmutableCallSite CS, unsigned StartIdx, in addStackMapLiveVars() argument
6917 for (unsigned i = StartIdx, e = CS.arg_size(); i != e; ++i) { in addStackMapLiveVars()
DFastISel.cpp572 const CallInst *CI, unsigned StartIdx) { in addStackMapLiveVars() argument
573 for (unsigned i = StartIdx, e = CI->getNumArgOperands(); i != e; ++i) { in addStackMapLiveVars()
/external/llvm/lib/Analysis/
DValueTracking.cpp2623 uint64_t StartIdx = 0; in getConstantStringInfo() local
2625 StartIdx = CI->getZExtValue(); in getConstantStringInfo()
2628 return getConstantStringInfo(GEP->getOperand(0), Str, StartIdx + Offset, in getConstantStringInfo()
/external/clang/lib/Lex/
DHeaderSearch.cpp703 if (!SkipCache && CacheLookup.StartIdx == i+1) { in LookupFile()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp6475 int StartIdx = i - LaneIdx; in lowerVectorShuffleAsByteRotate() local
6476 if (StartIdx == 0) in lowerVectorShuffleAsByteRotate()
6483 int CandidateRotation = StartIdx < 0 ? -StartIdx : NumLaneElts - StartIdx; in lowerVectorShuffleAsByteRotate()
6497 SDValue &TargetV = StartIdx < 0 ? Hi : Lo; in lowerVectorShuffleAsByteRotate()