Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
HDCombiner.cpp99 GISelCSEInfo *CSEInfo) { in combineMachineInstrs() argument
107 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()
HDCSEMIRBuilder.cpp36 GISelCSEInfo *CSEInfo = getCSEInfo(); in getDominatingInstrForID() local
37 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() local
53 if (!CSEInfo || !CSEInfo->shouldCSE(Opc)) in canPerformCSEForOpc()
HDLegalizer.cpp292 GISelCSEInfo *CSEInfo = nullptr; in runOnMachineFunction() local
298 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()
HDIRTranslator.cpp2247 GISelCSEInfo *CSEInfo = nullptr; in runOnMachineFunction() local
2255 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()
HDMachineIRBuilder.cpp49 void MachineIRBuilder::setCSEInfo(GISelCSEInfo *Info) { State.CSEInfo = Info; } in setCSEInfo()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
HDCombiner.h34 bool combineMachineInstrs(MachineFunction &MF, GISelCSEInfo *CSEInfo);
HDMachineIRBuilder.h56 GISelCSEInfo *CSEInfo; member
288 GISelCSEInfo *getCSEInfo() { return State.CSEInfo; } in getCSEInfo()
289 const GISelCSEInfo *getCSEInfo() const { return State.CSEInfo; } in getCSEInfo()
/freebsd-11-stable/lib/clang/libllvm/
HDMakefile213 SRCS_MIN+= CodeGen/GlobalISel/CSEInfo.cpp