/external/llvm/lib/Transforms/Scalar/ |
D | LoopVersioningLICM.cpp | 140 MDNode *NewLoopID = MDNode::get(Context, MDs); in addStringMetadataToLoop() local 142 NewLoopID->replaceOperandWith(0, NewLoopID); in addStringMetadataToLoop() 143 TheLoop->setLoopID(NewLoopID); in addStringMetadataToLoop()
|
D | LoopUnrollPass.cpp | 632 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/ |
D | LoopInfo.cpp | 538 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/ |
D | DebugInfo.cpp | 284 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/ |
D | LoopUnrollRuntime.cpp | 386 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/ |
D | LoopInfo.cpp | 532 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/ |
D | LoopInfoTest.cpp | 144 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/ |
D | LoopUtils.cpp | 240 MDNode *NewLoopID = MDNode::get(Context, MDs); in addStringMetadataToLoop() local 242 NewLoopID->replaceOperandWith(0, NewLoopID); in addStringMetadataToLoop() 243 TheLoop->setLoopID(NewLoopID); in addStringMetadataToLoop()
|
D | LoopUnrollRuntime.cpp | 408 Optional<MDNode *> NewLoopID = makeFollowupLoopID( in CloneLoopBlocks() local 410 if (NewLoopID.hasValue()) { in CloneLoopBlocks() 411 NewLoop->setLoopID(NewLoopID.getValue()); in CloneLoopBlocks()
|
D | InlineFunction.cpp | 1381 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/ |
D | LoopUnrollRuntime.cpp | 409 Optional<MDNode *> NewLoopID = makeFollowupLoopID( in CloneLoopBlocks() local 411 if (NewLoopID.hasValue()) { in CloneLoopBlocks() 412 NewLoop->setLoopID(NewLoopID.getValue()); in CloneLoopBlocks()
|
D | LoopUtils.cpp | 256 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/ |
D | DebugInfo.cpp | 340 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/ |
D | LoopUnrollPass.cpp | 1153 Optional<MDNode *> NewLoopID = in tryToUnrollLoop() local 1156 if (NewLoopID.hasValue()) { in tryToUnrollLoop() 1157 L->setLoopID(NewLoopID.getValue()); in tryToUnrollLoop()
|
D | InductiveRangeCheckElimination.cpp | 429 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/ |
D | LoopUnrollPass.cpp | 1162 Optional<MDNode *> NewLoopID = in tryToUnrollLoop() local 1165 if (NewLoopID.hasValue()) { in tryToUnrollLoop() 1166 L->setLoopID(NewLoopID.getValue()); in tryToUnrollLoop()
|
D | InductiveRangeCheckElimination.cpp | 446 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/ |
D | LoopVectorizationLegality.cpp | 101 MDNode *NewLoopID = in setAlreadyVectorized() local 106 TheLoop->setLoopID(NewLoopID); in setAlreadyVectorized()
|
D | LoopVectorize.cpp | 6669 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/ |
D | LoopVectorizationLegality.cpp | 110 MDNode *NewLoopID = in setAlreadyVectorized() local 115 TheLoop->setLoopID(NewLoopID); in setAlreadyVectorized()
|
D | LoopVectorize.cpp | 7559 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/ |
D | LoopVectorize.cpp | 1297 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()
|