Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp295 const RegisterBankInfo::InstructionMapping *BestMapping = nullptr; in findBestMapping() local
305 BestMapping = CurMapping; in findBestMapping()
311 if (!BestMapping && !TPC->isGlobalISelAbortEnabled()) { in findBestMapping()
315 BestMapping = *PossibleMappings.begin(); in findBestMapping()
319 assert(BestMapping && "No suitable mapping for instruction"); in findBestMapping()
320 return *BestMapping; in findBestMapping()
628 const RegisterBankInfo::InstructionMapping *BestMapping; in assignInstr() local
630 BestMapping = &RBI->getInstrMapping(MI); in assignInstr()
631 MappingCost DefaultCost = computeMapping(MI, *BestMapping, RepairPts); in assignInstr()
640 BestMapping = &findBestMapping(MI, PossibleMappings, RepairPts); in assignInstr()
[all …]