/external/llvm-project/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 155 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/ |
D | ExtractFunction.cpp | 158 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/ |
D | CloningTest.cpp | 886 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/ |
D | llvm-opt-fuzzer.cpp | 94 auto NewM = parseAndVerify( in LLVMFuzzerCustomMutator() local 96 if (!NewM) { in LLVMFuzzerCustomMutator()
|
/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 436 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/ |
D | MemCpyOptimizer.cpp | 1100 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/ |
D | HexagonStoreWidening.cpp | 419 MachineMemOperand *NewM = in createWideStores() local 439 StI->addMemOperand(*MF, NewM); in createWideStores() 462 StI->addMemOperand(*MF, NewM); in createWideStores()
|
D | HexagonISelLoweringHVX.cpp | 339 int NewM = M*ElemSize; in getByteShuffle() local 341 ByteMask.push_back(NewM+I); in getByteShuffle()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonStoreWidening.cpp | 426 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/ |
D | HexagonStoreWidening.cpp | 419 MachineMemOperand *NewM = in createWideStores() local 438 StI->addMemOperand(*MF, NewM); in createWideStores() 461 StI->addMemOperand(*MF, NewM); in createWideStores()
|
D | HexagonISelLoweringHVX.cpp | 463 int NewM = M*ElemSize; in getByteShuffle() local 465 ByteMask.push_back(NewM+I); in getByteShuffle()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | ProgramState.cpp | 525 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/ |
D | ProgramState.cpp | 498 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/ |
D | Pragma.cpp | 1622 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/ |
D | InlineFunction.cpp | 779 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/ |
D | InlineFunction.cpp | 866 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata() local 870 TempM->replaceAllUsesWith(NewM); in CloneAliasScopeMetadata()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 884 MDNode *NewM = MDNode::get(CalledFunc->getContext(), NewOps); in CloneAliasScopeMetadata() local 888 TempM->replaceAllUsesWith(NewM); in CloneAliasScopeMetadata()
|
/external/llvm/lib/IR/ |
D | Verifier.cpp | 258 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/ |
D | SemaDecl.cpp | 1578 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/ |
D | InstCombineCompares.cpp | 5538 SmallVector<int, 8> NewM(M.size(), MaskSplatIndex); in foldVectorCmp() local 5541 NewM); in foldVectorCmp()
|