Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DBranchFolding.cpp847 MachineBasicBlock::reverse_iterator MBBICommon = MBBCommon.rbegin(); in mergeOperations() local
859 while ((MBBICommon != MBBIECommon) && !countsAsInstruction(*MBBICommon)) in mergeOperations()
860 ++MBBICommon; in mergeOperations()
862 assert(MBBICommon != MBBIECommon && in mergeOperations()
864 assert(MBBICommon->isIdenticalTo(*MBBI) && "Expected matching MIIs!"); in mergeOperations()
867 if (MBBICommon->mayLoad() || MBBICommon->mayStore()) in mergeOperations()
868 MBBICommon->setMemRefs(MBBICommon->mergeMemRefsWith(*MBBI)); in mergeOperations()
870 for (unsigned I = 0, E = MBBICommon->getNumOperands(); I != E; ++I) { in mergeOperations()
871 MachineOperand &MO = MBBICommon->getOperand(I); in mergeOperations()
880 ++MBBICommon; in mergeOperations()
/external/llvm/lib/CodeGen/
DBranchFolding.cpp792 MachineBasicBlock::reverse_iterator MBBICommon = MBBCommon.rbegin(); in mergeMMOsFromMemoryOperations() local
804 while ((MBBICommon != MBBIECommon) && MBBICommon->isDebugValue()) in mergeMMOsFromMemoryOperations()
805 ++MBBICommon; in mergeMMOsFromMemoryOperations()
807 assert(MBBICommon != MBBIECommon && in mergeMMOsFromMemoryOperations()
809 assert(MBBICommon->isIdenticalTo(*MBBI) && "Expected matching MIIs!"); in mergeMMOsFromMemoryOperations()
811 if (MBBICommon->mayLoad() || MBBICommon->mayStore()) in mergeMMOsFromMemoryOperations()
812 MBBICommon->setMemRefs(MBBICommon->mergeMemRefsWith(*MBBI)); in mergeMMOsFromMemoryOperations()
815 ++MBBICommon; in mergeMMOsFromMemoryOperations()