Home
last modified time | relevance | path

Searched refs:NewLoopID (Results 1 – 22 of 22) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DLoopVersioningLICM.cpp140 MDNode *NewLoopID = MDNode::get(Context, MDs); in addStringMetadataToLoop() local
142 NewLoopID->replaceOperandWith(0, NewLoopID); in addStringMetadataToLoop()
143 TheLoop->setLoopID(NewLoopID); in addStringMetadataToLoop()
DLoopUnrollPass.cpp632 MDNode *NewLoopID = MDNode::get(Context, MDs); in SetLoopAlreadyUnrolled() local
634 NewLoopID->replaceOperandWith(0, NewLoopID); in SetLoopAlreadyUnrolled()
635 L->setLoopID(NewLoopID); in SetLoopAlreadyUnrolled()
/external/llvm-project/llvm/lib/Analysis/
DLoopInfo.cpp538 MDNode *NewLoopID = makePostTransformationMetadata( in setLoopAlreadyUnrolled() local
540 setLoopID(NewLoopID); in setLoopAlreadyUnrolled()
554 MDNode *NewLoopID = in setLoopMustProgress() local
556 setLoopID(NewLoopID); in setLoopMustProgress()
1066 MDNode *NewLoopID = MDNode::getDistinct(Context, MDs); in makePostTransformationMetadata() local
1068 NewLoopID->replaceOperandWith(0, NewLoopID); in makePostTransformationMetadata()
1069 return NewLoopID; in makePostTransformationMetadata()
/external/llvm-project/llvm/lib/IR/
DDebugInfo.cpp284 MDNode *NewLoopID = MDNode::getDistinct(OrigLoopID->getContext(), MDs); in updateLoopMetadataDebugLocationsImpl() local
286 NewLoopID->replaceOperandWith(0, NewLoopID); in updateLoopMetadataDebugLocationsImpl()
287 return NewLoopID; in updateLoopMetadataDebugLocationsImpl()
295 MDNode *NewLoopID = updateLoopMetadataDebugLocationsImpl(OrigLoopID, Updater); in updateLoopMetadataDebugLocations() local
296 I.setMetadata(LLVMContext::MD_loop, NewLoopID); in updateLoopMetadataDebugLocations()
348 auto *NewLoopID = LoopIDsMap.lookup(LoopID); in stripDebugInfo() local
349 if (!NewLoopID) in stripDebugInfo()
350 NewLoopID = LoopIDsMap[LoopID] = stripDebugLocFromLoopID(LoopID); in stripDebugInfo()
351 if (NewLoopID != LoopID) in stripDebugInfo()
352 TermInst->setMetadata(LLVMContext::MD_loop, NewLoopID); in stripDebugInfo()
/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp386 MDNode *NewLoopID = MDNode::get(Context, MDs); in CloneLoopBlocks() local
388 NewLoopID->replaceOperandWith(0, NewLoopID); in CloneLoopBlocks()
389 NewLoop->setLoopID(NewLoopID); in CloneLoopBlocks()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopInfo.cpp532 MDNode *NewLoopID = makePostTransformationMetadata( in setLoopAlreadyUnrolled() local
534 setLoopID(NewLoopID); in setLoopAlreadyUnrolled()
1045 MDNode *NewLoopID = MDNode::getDistinct(Context, MDs); in makePostTransformationMetadata() local
1047 NewLoopID->replaceOperandWith(0, NewLoopID); in makePostTransformationMetadata()
1048 return NewLoopID; in makePostTransformationMetadata()
/external/llvm-project/llvm/unittests/Analysis/
DLoopInfoTest.cpp144 MDNode *NewLoopID = MDNode::get(Context, {nullptr}); in TEST() local
146 NewLoopID->replaceOperandWith(0, NewLoopID); in TEST()
148 L->setLoopID(NewLoopID); in TEST()
149 EXPECT_EQ(L->getLoopID(), NewLoopID); in TEST()
154 EXPECT_NE(L->getLoopID(), NewLoopID); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp240 MDNode *NewLoopID = MDNode::get(Context, MDs); in addStringMetadataToLoop() local
242 NewLoopID->replaceOperandWith(0, NewLoopID); in addStringMetadataToLoop()
243 TheLoop->setLoopID(NewLoopID); in addStringMetadataToLoop()
DLoopUnrollRuntime.cpp408 Optional<MDNode *> NewLoopID = makeFollowupLoopID( in CloneLoopBlocks() local
410 if (NewLoopID.hasValue()) { in CloneLoopBlocks()
411 NewLoop->setLoopID(NewLoopID.getValue()); in CloneLoopBlocks()
DInlineFunction.cpp1381 MDNode *NewLoopID = MDNode::getDistinct(Ctx, MDs); in inlineLoopID() local
1383 NewLoopID->replaceOperandWith(0, NewLoopID); in inlineLoopID()
1384 return NewLoopID; in inlineLoopID()
1419 MDNode *NewLoopID = in fixupLineNumbers() local
1421 BI->setMetadata(LLVMContext::MD_loop, NewLoopID); in fixupLineNumbers()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp409 Optional<MDNode *> NewLoopID = makeFollowupLoopID( in CloneLoopBlocks() local
411 if (NewLoopID.hasValue()) { in CloneLoopBlocks()
412 NewLoop->setLoopID(NewLoopID.getValue()); in CloneLoopBlocks()
DLoopUtils.cpp256 MDNode *NewLoopID = MDNode::get(Context, MDs); in addStringMetadataToLoop() local
258 NewLoopID->replaceOperandWith(0, NewLoopID); in addStringMetadataToLoop()
259 TheLoop->setLoopID(NewLoopID); in addStringMetadataToLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDebugInfo.cpp340 auto *NewLoopID = LoopIDsMap.lookup(LoopID); in stripDebugInfo() local
341 if (!NewLoopID) in stripDebugInfo()
342 NewLoopID = LoopIDsMap[LoopID] = stripDebugLocFromLoopID(LoopID); in stripDebugInfo()
343 if (NewLoopID != LoopID) in stripDebugInfo()
344 TermInst->setMetadata(LLVMContext::MD_loop, NewLoopID); in stripDebugInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp1153 Optional<MDNode *> NewLoopID = in tryToUnrollLoop() local
1156 if (NewLoopID.hasValue()) { in tryToUnrollLoop()
1157 L->setLoopID(NewLoopID.getValue()); in tryToUnrollLoop()
DInductiveRangeCheckElimination.cpp429 MDNode *NewLoopID = in DisableAllLoopOptsOnLoop() local
433 NewLoopID->replaceOperandWith(0, NewLoopID); in DisableAllLoopOptsOnLoop()
434 L.setLoopID(NewLoopID); in DisableAllLoopOptsOnLoop()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp1162 Optional<MDNode *> NewLoopID = in tryToUnrollLoop() local
1165 if (NewLoopID.hasValue()) { in tryToUnrollLoop()
1166 L->setLoopID(NewLoopID.getValue()); in tryToUnrollLoop()
DInductiveRangeCheckElimination.cpp446 MDNode *NewLoopID = in DisableAllLoopOptsOnLoop() local
450 NewLoopID->replaceOperandWith(0, NewLoopID); in DisableAllLoopOptsOnLoop()
451 L.setLoopID(NewLoopID); in DisableAllLoopOptsOnLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp101 MDNode *NewLoopID = in setAlreadyVectorized() local
106 TheLoop->setLoopID(NewLoopID); in setAlreadyVectorized()
DLoopVectorize.cpp6669 MDNode *NewLoopID = MDNode::get(Context, MDs); in AddRuntimeUnrollDisableMetaData() local
6671 NewLoopID->replaceOperandWith(0, NewLoopID); in AddRuntimeUnrollDisableMetaData()
6672 L->setLoopID(NewLoopID); in AddRuntimeUnrollDisableMetaData()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp110 MDNode *NewLoopID = in setAlreadyVectorized() local
115 TheLoop->setLoopID(NewLoopID); in setAlreadyVectorized()
DLoopVectorize.cpp7559 MDNode *NewLoopID = MDNode::get(Context, MDs); in AddRuntimeUnrollDisableMetaData() local
7561 NewLoopID->replaceOperandWith(0, NewLoopID); in AddRuntimeUnrollDisableMetaData()
7562 L->setLoopID(NewLoopID); in AddRuntimeUnrollDisableMetaData()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1297 MDNode *NewLoopID = MDNode::get(Context, MDs); in writeHintsToMetadata() local
1299 NewLoopID->replaceOperandWith(0, NewLoopID); in writeHintsToMetadata()
1301 TheLoop->setLoopID(NewLoopID); in writeHintsToMetadata()
6359 MDNode *NewLoopID = MDNode::get(Context, MDs); in AddRuntimeUnrollDisableMetaData() local
6361 NewLoopID->replaceOperandWith(0, NewLoopID); in AddRuntimeUnrollDisableMetaData()
6362 L->setLoopID(NewLoopID); in AddRuntimeUnrollDisableMetaData()