Searched refs:CSEInfo (Results 1 – 11 of 11) sorted by relevance
99 GISelCSEInfo *CSEInfo) { in combineMachineInstrs() argument107 CSEInfo ? std::make_unique<CSEMIRBuilder>() : std::make_unique<MachineIRBuilder>(); in combineMachineInstrs()110 if (CSEInfo) in combineMachineInstrs()111 Builder->setCSEInfo(CSEInfo); in combineMachineInstrs()129 if (CSEInfo) in combineMachineInstrs()130 WrapperObserver.addObserver(CSEInfo); in combineMachineInstrs()
36 GISelCSEInfo *CSEInfo = getCSEInfo(); in getDominatingInstrForID() local37 assert(CSEInfo && "Can't get here without setting CSEInfo"); in getDominatingInstrForID()40 CSEInfo->getMachineInstrIfExists(ID, CurMBB, NodeInsertPos); in getDominatingInstrForID()42 CSEInfo->countOpcodeHit(MI->getOpcode()); in getDominatingInstrForID()52 const GISelCSEInfo *CSEInfo = getCSEInfo(); in canPerformCSEForOpc() local53 if (!CSEInfo || !CSEInfo->shouldCSE(Opc)) in canPerformCSEForOpc()
292 GISelCSEInfo *CSEInfo = nullptr; in runOnMachineFunction() local298 CSEInfo = &Wrapper.get(TPC.getCSEConfig()); in runOnMachineFunction()299 MIRBuilder->setCSEInfo(CSEInfo); in runOnMachineFunction()304 if (EnableCSE && CSEInfo) { in runOnMachineFunction()306 AuxObservers.push_back(CSEInfo); in runOnMachineFunction()
2 CSEInfo.cpp
2247 GISelCSEInfo *CSEInfo = nullptr; in runOnMachineFunction() local2255 CSEInfo = &Wrapper.get(TPC->getCSEConfig()); in runOnMachineFunction()2256 EntryBuilder->setCSEInfo(CSEInfo); in runOnMachineFunction()2258 CurBuilder->setCSEInfo(CSEInfo); in runOnMachineFunction()2346 if (EnableCSE && CSEInfo) in runOnMachineFunction()2347 WrapperObserver.addObserver(CSEInfo); in runOnMachineFunction()
49 void MachineIRBuilder::setCSEInfo(GISelCSEInfo *Info) { State.CSEInfo = Info; } in setCSEInfo()
34 bool combineMachineInstrs(MachineFunction &MF, GISelCSEInfo *CSEInfo);
56 GISelCSEInfo *CSEInfo; member288 GISelCSEInfo *getCSEInfo() { return State.CSEInfo; } in getCSEInfo()289 const GISelCSEInfo *getCSEInfo() const { return State.CSEInfo; } in getCSEInfo()
166 "llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp",
321 "llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp",
167 ${LLVM_DIR}/lib/CodeGen/GlobalISel/CSEInfo.cpp