Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopVersioningLICM.cpp182 InvariantCounter = 0; in reset()
226 unsigned InvariantCounter = 0; member
384 InvariantCounter++; in instructionSafeForVersioning()
398 InvariantCounter++; in instructionSafeForVersioning()
410 InvariantCounter = 0; in legalLoopInstructions()
450 if (!InvariantCounter) { in legalLoopInstructions()
461 if (InvariantCounter * 100 < InvariantThreshold * LoadAndStoreCounter) { in legalLoopInstructions()
466 << ((InvariantCounter * 100) / LoadAndStoreCounter) in legalLoopInstructions()
476 ((InvariantCounter * 100) / LoadAndStoreCounter)) in legalLoopInstructions()
/external/llvm/lib/Transforms/Scalar/
DLoopVersioningLICM.cpp172 InvariantCounter(0), IsReadOnlyLoop(true) { in LoopVersioningLICM()
193 unsigned InvariantCounter; // Counter to track num of invariant member
351 InvariantCounter++; in instructionSafeForVersioning()
365 InvariantCounter++; in instructionSafeForVersioning()
377 InvariantCounter = 0; in legalLoopInstructions()
401 if (!InvariantCounter) { in legalLoopInstructions()
412 if (InvariantCounter * 100 < InvariantThreshold * LoadAndStoreCounter) { in legalLoopInstructions()
416 << ((InvariantCounter * 100) / LoadAndStoreCounter) << "%\n"); in legalLoopInstructions()