Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp435 unsigned LoopMDKind = BEBlock->getContext().getMDKindID("llvm.loop"); in insertUniqueBackedgeBlock() local
440 LoopMD = TI->getMetadata(LoopMDKind); in insertUniqueBackedgeBlock()
441 TI->setMetadata(LoopMDKind, nullptr); in insertUniqueBackedgeBlock()
446 BEBlock->getTerminator()->setMetadata(LoopMDKind, LoopMD); in insertUniqueBackedgeBlock()
DLocal.cpp1034 unsigned LoopMDKind = BB->getContext().getMDKindID("llvm.loop"); in TryToSimplifyUncondBranchFromEmptyBlock() local
1037 if (MDNode *LoopMD = TI->getMetadata(LoopMDKind)) in TryToSimplifyUncondBranchFromEmptyBlock()
1040 Pred->getTerminator()->setMetadata(LoopMDKind, LoopMD); in TryToSimplifyUncondBranchFromEmptyBlock()