Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DInstrBuilder.cpp188 unsigned CurrentDef = 0; in populateWrites() local
190 for (; i < MCI.getNumOperands() && CurrentDef < NumExplicitDefs; ++i) { in populateWrites()
195 WriteDescriptor &Write = ID.Writes[CurrentDef]; in populateWrites()
197 if (CurrentDef < NumWriteLatencyEntries) { in populateWrites()
199 *STI.getWriteLatencyEntry(&SCDesc, CurrentDef); in populateWrites()
215 CurrentDef++; in populateWrites()
218 if (CurrentDef != NumExplicitDefs) in populateWrites()
222 CurrentDef = 0; in populateWrites()
223 for (CurrentDef = 0; CurrentDef < NumImplicitDefs; ++CurrentDef) { in populateWrites()
224 unsigned Index = NumExplicitDefs + CurrentDef; in populateWrites()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp392 Value *CurrentDef = nullptr; in buildFrameType() local
398 if (CurrentDef == S.def()) in buildFrameType()
401 CurrentDef = S.def(); in buildFrameType()
403 if (CurrentDef == Shape.PromiseAlloca) in buildFrameType()
407 if (auto *AI = dyn_cast<AllocaInst>(CurrentDef)) { in buildFrameType()
418 Ty = CurrentDef->getType(); in buildFrameType()
766 Instruction *CurrentDef = nullptr; in rewriteMaterializableInstructions() local
770 if (CurrentDef != E.def()) { in rewriteMaterializableInstructions()
771 CurrentDef = cast<Instruction>(E.def()); in rewriteMaterializableInstructions()
779 CurrentMaterialization = cast<Instruction>(CurrentDef)->clone(); in rewriteMaterializableInstructions()
[all …]