Home
last modified time | relevance | path

Searched refs:OldM (Results 1 – 8 of 8) sorted by relevance

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp403 void SetupModule() { OldM = new Module("", C); } in SetupModule()
406 DIBuilder DBuilder(*OldM); in CreateOldModule()
411 "persfn", OldM); in CreateOldModule()
413 Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", OldM); in CreateOldModule()
436 void CreateNewModule() { NewM = llvm::CloneModule(OldM).release(); } in CreateNewModule()
439 Module *OldM; member in __anond9ee711d0111::CloneModule
449 Finder.processModule(*OldM); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp418 const MachineMemOperand &OldM = getStoreTarget(FirstSt); in createWideStores() local
420 MF->getMachineMemOperand(OldM.getPointerInfo(), OldM.getFlags(), in createWideStores()
421 TotalSize, OldM.getAlignment(), in createWideStores()
422 OldM.getAAInfo()); in createWideStores()
/external/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp425 const MachineMemOperand &OldM = getStoreTarget(FirstSt); in createWideStores() local
427 MF->getMachineMemOperand(OldM.getPointerInfo(), OldM.getFlags(), in createWideStores()
428 TotalSize, OldM.getAlignment(), in createWideStores()
429 OldM.getAAInfo()); in createWideStores()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp418 const MachineMemOperand &OldM = getStoreTarget(FirstSt); in createWideStores() local
420 MF->getMachineMemOperand(OldM.getPointerInfo(), OldM.getFlags(), in createWideStores()
421 TotalSize, OldM.getAlign(), OldM.getAAInfo()); in createWideStores()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DCloningTest.cpp828 void SetupModule() { OldM = new Module("", C); } in SetupModule()
831 auto *CD = OldM->getOrInsertComdat("comdat"); in CreateOldModule()
835 *OldM, Type::getInt32Ty(C), false, GlobalValue::ExternalLinkage, in CreateOldModule()
840 DIBuilder DBuilder(*OldM); in CreateOldModule()
845 "persfn", OldM); in CreateOldModule()
847 Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", OldM); in CreateOldModule()
886 void CreateNewModule() { NewM = llvm::CloneModule(*OldM).release(); } in CreateNewModule()
889 Module *OldM; member in __anon375186cb0111::CloneModule
899 Finder.processModule(*OldM); in TEST_F()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DProgramState.cpp524 ProgramState::GenericDataMap OldM = state->getGDM(); in removeGDM() local
525 ProgramState::GenericDataMap NewM = GDMFactory.remove(OldM, Key); in removeGDM()
527 if (NewM == OldM) in removeGDM()
/external/clang/lib/StaticAnalyzer/Core/
DProgramState.cpp497 ProgramState::GenericDataMap OldM = state->getGDM(); in removeGDM() local
498 ProgramState::GenericDataMap NewM = GDMFactory.remove(OldM, Key); in removeGDM()
500 if (NewM == OldM) in removeGDM()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp1579 Module *OldM = Old->getOwningModule(); in CheckRedeclarationModuleOwnership() local
1583 if (OldM && OldM->Kind == Module::PrivateModuleFragment) in CheckRedeclarationModuleOwnership()
1584 OldM = OldM->Parent; in CheckRedeclarationModuleOwnership()
1586 if (NewM == OldM) in CheckRedeclarationModuleOwnership()
1590 bool OldIsModuleInterface = OldM && OldM->isModulePurview(); in CheckRedeclarationModuleOwnership()
1600 << (OldIsModuleInterface ? OldM->getFullModuleName() : ""); in CheckRedeclarationModuleOwnership()