/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | RegisterBankInfo.cpp | 267 static hash_code hashPartialMapping(unsigned StartIdx, unsigned Length, in hashPartialMapping() argument 269 return hash_combine(StartIdx, Length, RegBank ? RegBank->getID() : 0); in hashPartialMapping() 275 return hashPartialMapping(PartMapping.StartIdx, PartMapping.Length, in hash_value() 280 RegisterBankInfo::getPartialMapping(unsigned StartIdx, unsigned Length, in getPartialMapping() argument 284 hash_code Hash = hashPartialMapping(StartIdx, Length, &RegBank); in getPartialMapping() 292 PartMapping = std::make_unique<PartialMapping>(StartIdx, Length, RegBank); in getPartialMapping() 297 RegisterBankInfo::getValueMapping(unsigned StartIdx, unsigned Length, in getValueMapping() argument 299 return getValueMapping(&getPartialMapping(StartIdx, Length, RegBank), 1); in getValueMapping() 522 assert((StartIdx <= getHighBitIdx()) && "Overflow, switch to APInt?"); in verify() 529 OS << "[" << StartIdx << ", " << getHighBitIdx() << "], RegBank = "; in print() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineOutliner.cpp | 129 unsigned StartIdx = EmptyIdx; member 172 bool isRoot() const { return StartIdx == EmptyIdx; } in isRoot() 185 return *EndIdx - StartIdx + 1; in size() 188 SuffixTreeNode(unsigned StartIdx, unsigned *EndIdx, SuffixTreeNode *Link) in SuffixTreeNode() 189 : StartIdx(StartIdx), EndIdx(EndIdx), Link(Link) {} in SuffixTreeNode() 276 SuffixTreeNode *insertLeaf(SuffixTreeNode &Parent, unsigned StartIdx, in insertLeaf() argument 279 assert(StartIdx <= LeafEndIdx && "String can't start after it ends!"); in insertLeaf() 282 SuffixTreeNode(StartIdx, &LeafEndIdx, nullptr); in insertLeaf() 296 SuffixTreeNode *insertInternalNode(SuffixTreeNode *Parent, unsigned StartIdx, in insertInternalNode() argument 299 assert(StartIdx <= EndIdx && "String can't start after it ends!"); in insertInternalNode() [all …]
|
D | LiveInterval.cpp | 120 VNInfo *extendInBlock(SlotIndex StartIdx, SlotIndex Use) { in extendInBlock() argument 128 if (I->end <= StartIdx) in extendInBlock() 136 SlotIndex StartIdx, SlotIndex Use) { in extendInBlock() argument 142 return std::make_pair(nullptr, LR->isUndefIn(Undefs, StartIdx, BeforeUse)); in extendInBlock() 144 if (I->end <= StartIdx) in extendInBlock() 145 return std::make_pair(nullptr, LR->isUndefIn(Undefs, StartIdx, BeforeUse)); in extendInBlock() 565 SlotIndex StartIdx, SlotIndex Kill) { in extendInBlock() argument 568 return CalcLiveRangeUtilSet(this).extendInBlock(Undefs, StartIdx, Kill); in extendInBlock() 570 return CalcLiveRangeUtilVector(this).extendInBlock(Undefs, StartIdx, Kill); in extendInBlock() 573 VNInfo *LiveRange::extendInBlock(SlotIndex StartIdx, SlotIndex Kill) { in extendInBlock() argument [all …]
|
D | StackMaps.cpp | 69 unsigned PatchPointOpers::getNextScratchIdx(unsigned StartIdx) const { in getNextScratchIdx() 70 if (!StartIdx) in getNextScratchIdx() 71 StartIdx = getVarIdx(); in getNextScratchIdx() 74 unsigned ScratchIdx = StartIdx, e = MI->getNumOperands(); in getNextScratchIdx() 399 const unsigned StartIdx = opers.getVarIdx(); in recordStatepoint() local 400 recordStackMapOpers(L, MI, opers.getID(), MI.operands_begin() + StartIdx, in recordStatepoint()
|
D | TargetInstrInfo.cpp | 472 unsigned StartIdx = 0; in foldPatchpoint() local 476 StartIdx = StackMapOpers(&MI).getVarIdx(); in foldPatchpoint() 482 StartIdx = PatchPointOpers(&MI).getVarIdx(); in foldPatchpoint() 487 StartIdx = StatepointOpers(&MI).getVarIdx(); in foldPatchpoint() 497 if (Op < StartIdx) in foldPatchpoint() 506 for (unsigned i = 0; i < StartIdx; ++i) in foldPatchpoint() 509 for (unsigned i = StartIdx; i < MI.getNumOperands(); ++i) { in foldPatchpoint()
|
D | LiveDebugVariables.cpp | 176 void insertDebugValue(MachineBasicBlock *MBB, SlotIndex StartIdx, 1304 void UserValue::insertDebugValue(MachineBasicBlock *MBB, SlotIndex StartIdx, in insertDebugValue() argument 1312 MachineBasicBlock::iterator I = findInsertLocation(MBB, StartIdx, LIS); in insertDebugValue()
|
D | RegAllocGreedy.cpp | 2159 SlotIndex StartIdx = in calcGapWeights() local 2180 Matrix->getLiveUnions()[*Units] .find(StartIdx); in calcGapWeights() 2204 LiveRange::const_iterator I = LR.find(StartIdx); in calcGapWeights()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineOutliner.h | 40 unsigned StartIdx = 0; 91 unsigned getStartIdx() const { return StartIdx; } in getStartIdx() 94 unsigned getEndIdx() const { return StartIdx + Len - 1; } in getEndIdx() 120 Candidate(unsigned StartIdx, unsigned Len, in Candidate() 124 : StartIdx(StartIdx), Len(Len), FirstInst(FirstInst), LastInst(LastInst), in Candidate()
|
D | CallingConvLower.h | 389 for (unsigned StartIdx = 0; StartIdx <= Regs.size() - RegsRequired; in AllocateRegBlock() local 390 ++StartIdx) { in AllocateRegBlock() 394 if (isAllocated(Regs[StartIdx + BlockIdx])) { in AllocateRegBlock() 402 MarkAllocated(Regs[StartIdx + BlockIdx]); in AllocateRegBlock() 404 return Regs[StartIdx]; in AllocateRegBlock()
|
D | StackMaps.h | 140 unsigned getNextScratchIdx(unsigned StartIdx = 0) const;
|
D | LiveInterval.h | 488 SlotIndex StartIdx, SlotIndex Kill); 495 VNInfo *extendInBlock(SlotIndex StartIdx, SlotIndex Kill);
|
D | FastISel.h | 595 const CallInst *CI, unsigned StartIdx);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegisterBankInfo.h | 52 unsigned StartIdx; member 65 PartialMapping(unsigned StartIdx, unsigned Length, in PartialMapping() 67 : StartIdx(StartIdx), Length(Length), RegBank(&RegBank) {} in PartialMapping() 71 unsigned getHighBitIdx() const { return StartIdx + Length - 1; } in getHighBitIdx() 314 getNewVRegsEnd(unsigned StartIdx, unsigned NumVal) const; 315 SmallVectorImpl<Register>::iterator getNewVRegsEnd(unsigned StartIdx, 462 const PartialMapping &getPartialMapping(unsigned StartIdx, unsigned Length, 470 const ValueMapping &getValueMapping(unsigned StartIdx, unsigned Length,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ExpandImm.cpp | 157 int StartIdx = NotSet; in trySequenceOfOnes() local 166 StartIdx = Idx; in trySequenceOfOnes() 172 if (StartIdx == NotSet || EndIdx == NotSet) in trySequenceOfOnes() 183 if (StartIdx > EndIdx) { in trySequenceOfOnes() 184 std::swap(StartIdx, EndIdx); in trySequenceOfOnes() 199 if ((Idx < StartIdx || EndIdx < Idx) && Chunk != Outside) { in trySequenceOfOnes() 210 } else if (Idx > StartIdx && Idx < EndIdx && Chunk != Inside) { in trySequenceOfOnes()
|
D | AArch64GenRegisterBankInfo.def | 15 /* StartIdx, Length, RegBank */ 124 return Map.StartIdx == ValStartIdx && Map.Length == ValLength &&
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 1152 unsigned StartIdx, EndIdx; member 1165 : V(V), RLAmt(R), StartIdx(S), EndIdx(E), Repl32(false), Repl32CR(false), in BitGroup() 1517 if (BitGroups[0].StartIdx == 0 && in collectBitGroups() 1543 VRI.FirstGroupStartIdx = std::min(VRI.FirstGroupStartIdx, BG.StartIdx); in collectValueRotInfo() 1575 if (BG.StartIdx <= BG.EndIdx) { in assignRepl32BitGroups() 1576 for (unsigned i = BG.StartIdx; i <= BG.EndIdx; ++i) { in assignRepl32BitGroups() 1583 for (unsigned i = BG.StartIdx; i < Bits.size(); ++i) { in assignRepl32BitGroups() 1615 if (BG.StartIdx < 32 && BG.EndIdx < 32) { in assignRepl32BitGroups() 1626 << BG.StartIdx << ", " << BG.EndIdx << "]\n"); in assignRepl32BitGroups() 1638 I->StartIdx == (IP->EndIdx + 1) % 64 && I != IP) { in assignRepl32BitGroups() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86GenRegisterBankInfo.def | 15 /* StartIdx, Length, RegBank */
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUGenRegisterBankInfo.def | 45 // StartIdx, Length, RegBank
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 543 unsigned StartIdx = SimpVect.size(); in simplifyFAdd() local 563 if (StartIdx + 1 != SimpVect.size()) { in simplifyFAdd() 565 R = *SimpVect[StartIdx]; in simplifyFAdd() 566 for (unsigned Idx = StartIdx + 1; Idx < SimpVect.size(); Idx++) in simplifyFAdd() 570 SimpVect.resize(StartIdx); in simplifyFAdd()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 566 virtual Value *getStepVector(Value *Val, int StartIdx, Value *Step, 793 Value *getStepVector(Value *Val, int StartIdx, Value *Step, 1902 Value *InnerLoopVectorizer::getStepVector(Value *Val, int StartIdx, Value *Step, in getStepVector() argument 1918 Indices.push_back(ConstantInt::get(STy, StartIdx + i)); in getStepVector() 1936 Indices.push_back(ConstantFP::get(STy, (double)(StartIdx + i))); in getStepVector() 1990 auto *StartIdx = getSignedIntOrFpConstant(ScalarIVTy, VF * Part + Lane); in buildScalarSteps() local 1991 auto *Mul = addFastMathFlag(Builder.CreateBinOp(MulOp, StartIdx, Step)); in buildScalarSteps() 2999 Value *StartIdx = ConstantInt::get(IdxTy, 0); in createVectorizedLoopSkeleton() local 3023 createInductionVariable(Lp, StartIdx, CountRoundDown, Step, in createVectorizedLoopSkeleton() 6625 Value *InnerLoopUnroller::getStepVector(Value *Val, int StartIdx, Value *Step, in getStepVector() argument [all …]
|
D | SLPVectorizer.cpp | 5793 unsigned StartIdx = 0; in vectorizeStores() local 5795 for (unsigned Cnt = StartIdx, E = Operands.size(); Cnt + Size <= E;) { in vectorizeStores() 5805 if (Cnt == StartIdx) in vectorizeStores() 5806 StartIdx += Size; in vectorizeStores() 5813 if (StartIdx >= Operands.size()) in vectorizeStores()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMRegisterBankInfo.cpp | 51 return PM.StartIdx == Start && PM.Length == Length && in checkPartMapping()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 3697 int StartIdx[2] = { -1, -1 }; // StartIdx to extract from in visitShuffleVector() local 3714 (StartIdx[Input] >= 0 && StartIdx[Input] != NewStartIdx)) in visitShuffleVector() 3718 StartIdx[Input] = NewStartIdx; in visitShuffleVector() 3721 if (StartIdx[0] < 0 && StartIdx[1] < 0) { in visitShuffleVector() 3729 if (StartIdx[Input] < 0) in visitShuffleVector() 3734 DAG.getConstant(StartIdx[Input], DL, in visitShuffleVector() 3743 Idx -= SrcNumElts + StartIdx[1] - MaskNumElts; in visitShuffleVector() 3745 Idx -= StartIdx[0]; in visitShuffleVector() 8718 static void addStackMapLiveVars(ImmutableCallSite CS, unsigned StartIdx, in addStackMapLiveVars() argument 8721 for (unsigned i = StartIdx, e = CS.arg_size(); i != e; ++i) { in addStackMapLiveVars()
|
D | FastISel.cpp | 761 const CallInst *CI, unsigned StartIdx) { in addStackMapLiveVars() argument 762 for (unsigned i = StartIdx, e = CI->getNumArgOperands(); i != e; ++i) { in addStackMapLiveVars()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 3656 uint64_t StartIdx = 0; in getConstantDataArrayInfo() local 3658 StartIdx = CI->getZExtValue(); in getConstantDataArrayInfo() 3662 StartIdx + Offset); in getConstantDataArrayInfo()
|