Home
last modified time | relevance | path

Searched refs:BestCost (Results 1 – 18 of 18) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dcommute-movcc.ll32 %BestCost.011 = phi i32 [ -1, %entry ], [ %BestCost.1, %if.end8 ]
42 %cmp3 = icmp ult i32 %mul, %BestCost.011
44 %mul.BestCost.0 = select i1 %cmp3, i32 %mul, i32 %BestCost.011
48 %cmp5 = icmp ugt i32 %mul, %BestCost.011
50 %BestCost.0.mul = select i1 %cmp5, i32 %BestCost.011, i32 %mul
55 %BestCost.1 = phi i32 [ %mul.BestCost.0, %if.then ], [ %BestCost.0.mul, %if.else ]
/external/llvm/test/CodeGen/ARM/
Dcommute-movcc.ll32 %BestCost.011 = phi i32 [ -1, %entry ], [ %BestCost.1, %if.end8 ]
42 %cmp3 = icmp ult i32 %mul, %BestCost.011
44 %mul.BestCost.0 = select i1 %cmp3, i32 %mul, i32 %BestCost.011
48 %cmp5 = icmp ugt i32 %mul, %BestCost.011
50 %BestCost.0.mul = select i1 %cmp5, i32 %BestCost.011, i32 %mul
55 %BestCost.1 = phi i32 [ %mul.BestCost.0, %if.then ], [ %BestCost.0.mul, %if.else ]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp392 const RegBankSelect::MappingCost *BestCost) { in computeMapping() argument
393 assert((MBFI || !BestCost) && "Costs comparison require MBFI"); in computeMapping()
405 if (BestCost && Cost > *BestCost) { in computeMapping()
457 if (!BestCost || Saturated) in computeMapping()
513 if (BestCost && Cost > *BestCost) { in computeMapping()
/external/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp348 const RegBankSelect::MappingCost *BestCost) { in computeMapping() argument
349 assert((MBFI || !BestCost) && "Costs comparison require MBFI"); in computeMapping()
358 if (BestCost && Cost > *BestCost) in computeMapping()
406 if (!BestCost || Saturated) in computeMapping()
457 if (BestCost && Cost > *BestCost) in computeMapping()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegAllocGreedy.cpp620 EvictionCost BestCost(~0u); in tryEvict() local
626 BestCost.BrokenHints = 0; in tryEvict()
627 BestCost.MaxWeight = VirtReg.weight; in tryEvict()
644 if (!canEvictInterference(VirtReg, PhysReg, false, BestCost)) in tryEvict()
1089 float BestCost; in tryRegionSplit() local
1097 BestCost = HUGE_VALF; in tryRegionSplit()
1101 BestCost = Hysteresis * calcSpillCost(); in tryRegionSplit()
1102 DEBUG(dbgs() << "Cost of isolating all blocks = " << BestCost << '\n'); in tryRegionSplit()
1135 if (Cost >= BestCost) { in tryRegionSplit()
1163 if (Cost < BestCost) { in tryRegionSplit()
[all …]
DRegAllocFast.cpp515 unsigned BestReg = 0, BestCost = spillImpossible; in allocVirtReg() local
520 DEBUG(dbgs() << "\tBestCost: " << BestCost << "\n"); in allocVirtReg()
524 if (Cost < BestCost) in allocVirtReg()
525 BestReg = *I, BestCost = Cost; in allocVirtReg()
/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp375 BlockFrequency &BestCost,
865 EvictionCost BestCost; in tryEvict() local
866 BestCost.setMax(); in tryEvict()
873 BestCost.BrokenHints = 0; in tryEvict()
874 BestCost.MaxWeight = VirtReg.weight; in tryEvict()
906 if (!canEvictInterference(VirtReg, PhysReg, false, BestCost)) in tryEvict()
1356 BlockFrequency BestCost; in tryRegionSplit() local
1363 BestCost = BlockFrequency::getMaxFrequency(); in tryRegionSplit()
1367 BestCost = calcSpillCost(); in tryRegionSplit()
1369 MBFI->printBlockFreq(dbgs(), BestCost) << '\n'); in tryRegionSplit()
[all …]
DRegAllocFast.cpp566 unsigned BestReg = 0, BestCost = spillImpossible; in allocVirtReg() local
571 DEBUG(dbgs() << "\tBestCost: " << BestCost << "\n"); in allocVirtReg()
577 if (Cost < BestCost) in allocVirtReg()
578 BestReg = *I, BestCost = Cost; in allocVirtReg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp491 BlockFrequency &BestCost,
1102 EvictionCost BestCost; in tryEvict() local
1103 BestCost.setMax(); in tryEvict()
1110 BestCost.BrokenHints = 0; in tryEvict()
1111 BestCost.MaxWeight = VirtReg.weight; in tryEvict()
1145 if (!canEvictInterference(VirtReg, PhysReg, false, BestCost)) in tryEvict()
1798 BlockFrequency BestCost; in tryRegionSplit() local
1805 BestCost = BlockFrequency::getMaxFrequency(); in tryRegionSplit()
1809 BestCost = SpillCost; in tryRegionSplit()
1811 MBFI->printBlockFreq(dbgs(), BestCost) << '\n'); in tryRegionSplit()
[all …]
DRegAllocFast.cpp580 unsigned BestCost = spillImpossible; in allocVirtReg() local
585 LLVM_DEBUG(dbgs() << "\tBestCost: " << BestCost << "\n"); in allocVirtReg()
591 if (Cost < BestCost) in allocVirtReg()
592 BestReg = PhysReg, BestCost = Cost; in allocVirtReg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DResourcePriorityQueue.cpp589 int BestCost = SUSchedulingCost(*Best); in pop() local
592 if (SUSchedulingCost(*I) > BestCost) { in pop()
593 BestCost = SUSchedulingCost(*I); in pop()
/external/llvm/lib/CodeGen/SelectionDAG/
DResourcePriorityQueue.cpp604 int BestCost = SUSchedulingCost(*Best); in pop() local
608 if (SUSchedulingCost(*I) > BestCost) { in pop()
609 BestCost = SUSchedulingCost(*I); in pop()
/external/llvm/lib/Target/Hexagon/
DHexagonMachineScheduler.h127 BestCost}; enumerator
DHexagonMachineScheduler.cpp572 FoundCandidate = BestCost; in pickNodeFromQueue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonMachineScheduler.h129 BestCost, Weak}; enumerator
DHexagonMachineScheduler.cpp815 FoundCandidate = BestCost; in pickNodeFromQueue()
847 FoundCandidate = BestCost; in pickNodeFromQueue()
/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h556 const MappingCost *BestCost = nullptr);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h596 const MappingCost *BestCost = nullptr);