• Home
  • Raw
  • Download

Lines Matching refs:Chain

112 class Chain;
143 bool colorChainSet(std::vector<Chain*> GV, MachineBasicBlock &MBB,
145 bool colorChain(Chain *G, Color C, MachineBasicBlock &MBB);
146 int scavengeRegister(Chain *G, Color C, MachineBasicBlock &MBB);
148 std::map<unsigned, Chain*> &Active,
149 std::vector<std::unique_ptr<Chain>> &AllChains);
151 std::map<unsigned, Chain*> &RegChains);
153 Chain *getAndEraseNext(Color PreferredColor, std::vector<Chain*> &L);
190 class Chain { class
208 Chain(MachineInstr *MI, unsigned Idx, Color C) in Chain() function in __anon29e4c6140211::Chain
271 bool rangeOverlapsWith(const Chain &Other) const { in rangeOverlapsWith()
280 bool startsBefore(const Chain *Other) const { in startsBefore()
344 std::map<unsigned, Chain*> ActiveChains; in runOnBasicBlock()
345 std::vector<std::unique_ptr<Chain>> AllChains; in runOnBasicBlock()
359 EquivalenceClasses<Chain*> EC; in runOnBasicBlock()
373 std::vector<std::vector<Chain*> > V; in runOnBasicBlock()
375 std::vector<Chain*> Cs(EC.member_begin(I), EC.member_end()); in runOnBasicBlock()
383 [](const std::vector<Chain*> &A, in runOnBasicBlock()
384 const std::vector<Chain*> &B) { in runOnBasicBlock()
407 Chain *AArch64A57FPLoadBalancing::getAndEraseNext(Color PreferredColor, in getAndEraseNext()
408 std::vector<Chain*> &L) { in getAndEraseNext()
425 Chain *Ch = *--I; in getAndEraseNext()
431 Chain *Ch = *I; in getAndEraseNext()
438 Chain *Ch = L.front(); in getAndEraseNext()
443 bool AArch64A57FPLoadBalancing::colorChainSet(std::vector<Chain*> GV, in colorChainSet()
458 std::sort(GV.begin(), GV.end(), [](const Chain *G1, const Chain *G2) { in colorChainSet()
470 while (Chain *G = getAndEraseNext(PreferredColor, GV)) { in colorChainSet()
498 int AArch64A57FPLoadBalancing::scavengeRegister(Chain *G, Color C, in scavengeRegister()
545 bool AArch64A57FPLoadBalancing::colorChain(Chain *G, Color C, in colorChain()
616 MachineInstr *MI, unsigned Idx, std::map<unsigned, Chain *> &ActiveChains, in scanInstruction()
617 std::vector<std::unique_ptr<Chain>> &AllChains) { in scanInstruction()
634 auto G = llvm::make_unique<Chain>(MI, Idx, getColor(DestReg)); in scanInstruction()
678 auto G = llvm::make_unique<Chain>(MI, Idx, getColor(DestReg)); in scanInstruction()
696 std::map<unsigned, Chain*> &ActiveChains) { in maybeKillChain()