Home
last modified time | relevance | path

Searched refs:NewM (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/llvm/tools/bugpoint/
DExtractFunction.cpp155 std::unique_ptr<Module> NewM = runPassesOn(M, LoopExtractPasses); in extractLoop() local
156 if (!NewM) { in extractLoop()
167 if (M->size() == NewM->size() || --NumExtracted == 0) { in extractLoop()
170 assert(M->size() < NewM->size() && "Loop extract removed functions?"); in extractLoop()
171 Module::iterator MI = NewM->begin(); in extractLoop()
176 return NewM; in extractLoop()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp158 std::unique_ptr<Module> NewM = runPassesOn(M, LoopExtractPasses); in extractLoop() local
159 if (!NewM) { in extractLoop()
170 if (M->size() == NewM->size() || --NumExtracted == 0) { in extractLoop()
173 assert(M->size() < NewM->size() && "Loop extract removed functions?"); in extractLoop()
174 Module::iterator MI = NewM->begin(); in extractLoop()
179 return NewM; in extractLoop()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DCloningTest.cpp886 void CreateNewModule() { NewM = llvm::CloneModule(*OldM).release(); } in CreateNewModule()
890 Module *NewM; member in __anon375186cb0111::CloneModule
894 EXPECT_FALSE(verifyModule(*NewM)); in TEST_F()
904 Function *NewF = NewM->getFunction("f"); in TEST_F()
913 GlobalVariable *NewGV = NewM->getGlobalVariable("gv"); in TEST_F()
918 GlobalVariable *NewGV = NewM->getGlobalVariable("gv"); in TEST_F()
935 DISubprogram *SP = NewM->getFunction("f")->getSubprogram(); in TEST_F()
942 auto *NMD = NewM->getNamedMetadata("llvm.dbg.cu"); in TEST_F()
950 DISubprogram *SP = NewM->getFunction("f")->getSubprogram(); in TEST_F()
964 GlobalVariable *NewGV = NewM->getGlobalVariable("gv"); in TEST_F()
[all …]
/external/llvm-project/llvm/tools/llvm-opt-fuzzer/
Dllvm-opt-fuzzer.cpp94 auto NewM = parseAndVerify( in LLVMFuzzerCustomMutator() local
96 if (!NewM) { in LLVMFuzzerCustomMutator()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp436 void CreateNewModule() { NewM = llvm::CloneModule(OldM).release(); } in CreateNewModule()
440 Module *NewM; member in __anond9ee711d0111::CloneModule
444 EXPECT_FALSE(verifyModule(*NewM)); in TEST_F()
454 Function *NewF = NewM->getFunction("f"); in TEST_F()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1100 Instruction *NewM; in processMemCpyMemCpyDependence() local
1102 NewM = Builder.CreateMemMove(M->getRawDest(), M->getDestAlign(), in processMemCpyMemCpyDependence()
1106 NewM = Builder.CreateMemCpy(M->getRawDest(), M->getDestAlign(), in processMemCpyMemCpyDependence()
1113 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in processMemCpyMemCpyDependence()
1314 Instruction *NewM = in performMemCpyToMemSetOptzn() local
1320 auto *NewAccess = MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in performMemCpyToMemSetOptzn()
1349 Instruction *NewM = in processMemCpy() local
1356 MSSAU->createMemoryAccessAfter(NewM, LastDef, LastDef); in processMemCpy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp419 MachineMemOperand *NewM = in createWideStores() local
439 StI->addMemOperand(*MF, NewM); in createWideStores()
462 StI->addMemOperand(*MF, NewM); in createWideStores()
DHexagonISelLoweringHVX.cpp339 int NewM = M*ElemSize; in getByteShuffle() local
341 ByteMask.push_back(NewM+I); in getByteShuffle()
/external/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp426 MachineMemOperand *NewM = in createWideStores() local
445 StI->addMemOperand(*MF, NewM); in createWideStores()
467 StI->addMemOperand(*MF, NewM); in createWideStores()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp419 MachineMemOperand *NewM = in createWideStores() local
438 StI->addMemOperand(*MF, NewM); in createWideStores()
461 StI->addMemOperand(*MF, NewM); in createWideStores()
DHexagonISelLoweringHVX.cpp463 int NewM = M*ElemSize; in getByteShuffle() local
465 ByteMask.push_back(NewM+I); in getByteShuffle()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DProgramState.cpp525 ProgramState::GenericDataMap NewM = GDMFactory.remove(OldM, Key); in removeGDM() local
527 if (NewM == OldM) in removeGDM()
531 NewState.GDM = NewM; in removeGDM()
/external/clang/lib/StaticAnalyzer/Core/
DProgramState.cpp498 ProgramState::GenericDataMap NewM = GDMFactory.remove(OldM, Key); in removeGDM() local
500 if (NewM == OldM) in removeGDM()
504 NewState.GDM = NewM; in removeGDM()
/external/llvm-project/clang/lib/Lex/
DPragma.cpp1622 auto *NewM = M->findOrInferSubmodule(ModuleName[I].first->getName()); in HandlePragma() local
1623 if (!NewM) { in HandlePragma()
1628 M = NewM; in HandlePragma()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp779 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata() local
783 TempM->replaceAllUsesWith(NewM); in CloneAliasScopeMetadata()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp866 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata() local
870 TempM->replaceAllUsesWith(NewM); in CloneAliasScopeMetadata()
/external/llvm-project/llvm/lib/Transforms/Utils/
DInlineFunction.cpp884 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata() local
888 TempM->replaceAllUsesWith(NewM); in CloneAliasScopeMetadata()
/external/llvm/lib/IR/
DVerifier.cpp258 void updateModule(const Module *NewM) { in updateModule() argument
259 if (M == NewM) in updateModule()
261 MST.emplace(NewM); in updateModule()
262 M = NewM; in updateModule()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp1578 Module *NewM = New->getOwningModule(); in CheckRedeclarationModuleOwnership() local
1581 if (NewM && NewM->Kind == Module::PrivateModuleFragment) in CheckRedeclarationModuleOwnership()
1582 NewM = NewM->Parent; in CheckRedeclarationModuleOwnership()
1586 if (NewM == OldM) in CheckRedeclarationModuleOwnership()
1589 bool NewIsModuleInterface = NewM && NewM->isModulePurview(); in CheckRedeclarationModuleOwnership()
1598 << (NewIsModuleInterface ? NewM->getFullModuleName() : "") in CheckRedeclarationModuleOwnership()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp5538 SmallVector<int, 8> NewM(M.size(), MaskSplatIndex); in foldVectorCmp() local
5541 NewM); in foldVectorCmp()