/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | CalcSpillWeights.cpp | 94 unsigned loopDepth = 0; in CalculateWeightAndHint() local 122 loopDepth = loop ? loop->getLoopDepth() : 0; in CalculateWeightAndHint() 129 weight = LiveIntervals::getSpillWeight(writes, reads, loopDepth); in CalculateWeightAndHint()
|
D | LiveIntervalAnalysis.cpp | 1637 unsigned loopDepth = loopInfo->getLoopDepth(MBB); in rewriteInstructionsForSpills() local 1638 nI.weight += getSpillWeight(HasDef, HasUse, loopDepth); in rewriteInstructionsForSpills() 1716 LiveIntervals::getSpillWeight(bool isDef, bool isUse, unsigned loopDepth) { in getSpillWeight() argument 1718 if (loopDepth > 200) in getSpillWeight() 1719 loopDepth = 200; in getSpillWeight() 1728 float lc = std::pow(1 + (100.0 / (loopDepth + 10)), (double)loopDepth); in getSpillWeight()
|
D | StackSlotColoring.cpp | 184 unsigned loopDepth = loopInfo->getLoopDepth(MBB); in ScanForSpillSlotRefs() local 199 li.weight += LiveIntervals::getSpillWeight(false, true, loopDepth); in ScanForSpillSlotRefs()
|
D | RegAllocLinearScan.cpp | 833 unsigned loopDepth = loopInfo->getLoopDepth(MI->getParent()); in getConflictWeight() local 834 Conflicts += std::pow(10.0f, (float)loopDepth); in getConflictWeight()
|
/external/swiftshader/src/Pipeline/ |
D | VertexProgram.cpp | 39 loopDepth = -1; in VertexProgram() 867 return aL[loopDepth]; in relativeAddress() 1173 aL[loopDepth] = aL[loopDepth] + increment[loopDepth]; // FIXME: += in ENDLOOP() 1181 loopDepth--; in ENDLOOP() 1195 loopDepth--; in ENDREP() 1326 loopDepth++; in LOOP() 1328 iteration[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData,vs.i[integerRegister.index][0])); in LOOP() 1329 aL[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData,vs.i[integerRegister.index][1])); in LOOP() 1330 increment[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData,vs.i[integerRegister.index][2])); in LOOP() 1333 If(increment[loopDepth] == 0) in LOOP() [all …]
|
D | PixelProgram.cpp | 1096 return aL[loopDepth]; in relativeAddress() 1521 aL[loopDepth] = aL[loopDepth] + increment[loopDepth]; // FIXME: += in ENDLOOP() 1529 loopDepth--; in ENDLOOP() 1543 loopDepth--; in ENDREP() 1674 loopDepth++; in LOOP() 1676 iteration[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData, ps.i[integerRegister.index][0])); in LOOP() 1677 aL[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData, ps.i[integerRegister.index][1])); in LOOP() 1678 increment[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData, ps.i[integerRegister.index][2])); in LOOP() 1696 branch(iteration[loopDepth] > 0, loopBlock, endBlock); in LOOP() 1699 iteration[loopDepth] = iteration[loopDepth] - 1; // FIXME: -- in LOOP() [all …]
|
D | PixelProgram.hpp | 28 loopDepth(-1), ifDepth(0), loopRepDepth(0), currentLabel(-1), whileTest(false) in PixelProgram() 74 Int loopDepth; // FIXME: Add support for switch member in sw::PixelProgram
|
D | VertexProgram.hpp | 48 Int loopDepth; member in sw::VertexProgram
|
/external/swiftshader/src/Shader/ |
D | VertexProgram.cpp | 34 loopDepth = -1; in VertexProgram() 943 return aL[loopDepth]; in relativeAddress() 1257 aL[loopDepth] = aL[loopDepth] + increment[loopDepth]; // FIXME: += in ENDLOOP() 1265 loopDepth--; in ENDLOOP() 1279 loopDepth--; in ENDREP() 1410 loopDepth++; in LOOP() 1412 iteration[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData,vs.i[integerRegister.index][0])); in LOOP() 1413 aL[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData,vs.i[integerRegister.index][1])); in LOOP() 1414 increment[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData,vs.i[integerRegister.index][2])); in LOOP() 1417 If(increment[loopDepth] == 0) in LOOP() [all …]
|
D | PixelProgram.cpp | 1121 return aL[loopDepth]; in relativeAddress() 1552 aL[loopDepth] = aL[loopDepth] + increment[loopDepth]; // FIXME: += in ENDLOOP() 1560 loopDepth--; in ENDLOOP() 1574 loopDepth--; in ENDREP() 1705 loopDepth++; in LOOP() 1707 iteration[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData, ps.i[integerRegister.index][0])); in LOOP() 1708 aL[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData, ps.i[integerRegister.index][1])); in LOOP() 1709 increment[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData, ps.i[integerRegister.index][2])); in LOOP() 1727 branch(iteration[loopDepth] > 0, loopBlock, endBlock); in LOOP() 1730 iteration[loopDepth] = iteration[loopDepth] - 1; // FIXME: -- in LOOP() [all …]
|
D | PixelProgram.hpp | 34 loopDepth = -1; in PixelProgram() 74 Int loopDepth; // FIXME: Add support for switch member in sw::PixelProgram
|
D | VertexProgram.hpp | 48 Int loopDepth; member in sw::VertexProgram
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | LiveIntervalAnalysis.h | 76 static float getSpillWeight(bool isDef, bool isUse, unsigned loopDepth);
|