Home
last modified time | relevance | path

Searched refs:MCP (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp4955 typedef MachineCombinerPattern MCP; in getMaddPatterns() typedef
4991 setVFound(AArch64::MULv8i8, 1, MCP::MULADDv8i8_OP1); in getMaddPatterns()
4992 setVFound(AArch64::MULv8i8, 2, MCP::MULADDv8i8_OP2); in getMaddPatterns()
4995 setVFound(AArch64::MULv16i8, 1, MCP::MULADDv16i8_OP1); in getMaddPatterns()
4996 setVFound(AArch64::MULv16i8, 2, MCP::MULADDv16i8_OP2); in getMaddPatterns()
4999 setVFound(AArch64::MULv4i16, 1, MCP::MULADDv4i16_OP1); in getMaddPatterns()
5000 setVFound(AArch64::MULv4i16, 2, MCP::MULADDv4i16_OP2); in getMaddPatterns()
5023 setVFound(AArch64::MULv8i8, 1, MCP::MULSUBv8i8_OP1); in getMaddPatterns()
5024 setVFound(AArch64::MULv8i8, 2, MCP::MULSUBv8i8_OP2); in getMaddPatterns()
5078 typedef MachineCombinerPattern MCP; in getFMAPatterns() typedef
[all …]
H A DAArch64ExpandPseudoInsts.cpp1072 MachineConstantPool *MCP = MF.getConstantPool(); in expandMI() local
1073 unsigned CPIdx = MCP->getConstantPoolIndex(BA, Align(8)); in expandMI()
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp203 MachineConstantPool *MCP = nullptr; member in __anona1ac4df50111::CSKYConstantIslands
289 MCP = Mf.getConstantPool(); in runOnMachineFunction()
293 << MCP->getConstants().size() << " CP entries, aligned to " in runOnMachineFunction()
294 << MCP->getConstantPoolAlign().value() << " bytes *****\n"); in runOnMachineFunction()
311 if (!MCP->isEmpty()) in runOnMachineFunction()
375 const Align MaxAlign = MCP->getConstantPoolAlign(); in doInitialPlacement()
393 const std::vector<MachineConstantPoolEntry> &CPs = MCP->getConstants(); in doInitialPlacement()
470 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index."); in getCPEAlign()
471 return MCP->getConstants()[CPI].getAlign(); in getCPEAlign()
H A DCSKYAsmPrinter.h28 MachineConstantPool *MCP; variable
H A DCSKYAsmPrinter.cpp44 MCP = MF.getConstantPool(); in runOnMachineFunction()
114 const MachineConstantPoolEntry &MCPE = MCP->getConstants()[CPIdx]; in emitCustomConstantPool()
H A DCSKYInstrInfo.cpp566 MachineConstantPool *MCP = MF.getConstantPool(); in getGlobalBaseReg() local
583 unsigned CPI = MCP->getConstantPoolIndex(CPV, Align(4)); in getGlobalBaseReg()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp345 MachineConstantPool *MCP = nullptr; member in __anone90db4530111::MipsConstantIslands
438 MCP = mf.getConstantPool(); in runOnMachineFunction()
468 if (!MCP->isEmpty()) in runOnMachineFunction()
532 const Align MaxAlign = MCP->getConstantPoolAlign(); in doInitialPlacement()
551 const std::vector<MachineConstantPoolEntry> &CPs = MCP->getConstants(); in doInitialPlacement()
624 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index."); in getCPEAlign()
625 return MCP->getConstants()[CPI].getAlign(); in getCPEAlign()
1652 unsigned index = MCP->getConstantPoolIndex(C, Align(4)); in prescanForConstants()
H A DMipsAsmPrinter.h60 const MachineConstantPool *MCP = nullptr;
H A DMipsAsmPrinter.cpp89 MCP = MF.getConstantPool(); in runOnMachineFunction()
226 const MachineConstantPoolEntry &MCPE = MCP->getConstants()[CPIdx]; in emitInstruction()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMAsmPrinter.h43 const MachineConstantPool *MCP; variable
H A DARMConstantIslandPass.cpp214 MachineConstantPool *MCP; member in __anon2343e9610111::ARMConstantIslands
392 MCP = mf.getConstantPool(); in runOnMachineFunction()
396 << MCP->getConstants().size() << " CP entries, aligned to " in runOnMachineFunction()
397 << MCP->getConstantPoolAlign().value() << " bytes *****\n"); in runOnMachineFunction()
438 if (!MCP->isEmpty()) in runOnMachineFunction()
543 const Align MaxAlign = MCP->getConstantPoolAlign(); in doInitialConstPlacement()
566 const std::vector<MachineConstantPoolEntry> &CPs = MCP->getConstants(); in doInitialConstPlacement()
724 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index."); in getCPEAlign()
725 return MCP->getConstants()[CPI].getAlign(); in getCPEAlign()
H A DARMAsmPrinter.cpp58 MCP(nullptr), InConstantPool(false), OptimizationGoals(-1) {} in ARMAsmPrinter()
118 MCP = MF.getConstantPool(); in runOnMachineFunction()
1303 const MachineConstantPool *MCP = MF.getConstantPool(); in EmitUnwindingInstruction() local
1304 if (CPI >= MCP->getConstants().size()) in EmitUnwindingInstruction()
1309 const MachineConstantPoolEntry &CPE = MCP->getConstants()[CPI]; in EmitUnwindingInstruction()
1724 const MachineConstantPoolEntry &MCPE = MCP->getConstants()[CPIdx]; in emitInstruction()
H A DARMBaseInstrInfo.cpp1761 MachineConstantPool *MCP = MF.getConstantPool(); in duplicateCPV() local
1764 const MachineConstantPoolEntry &MCPE = MCP->getConstants()[CPI]; in duplicateCPV()
1799 CPI = MCP->getConstantPoolIndex(NewCPV, MCPE.getAlign()); in duplicateCPV()
1883 const MachineConstantPool *MCP = MF->getConstantPool(); in produceSameValue() local
1886 const MachineConstantPoolEntry &MCPE0 = MCP->getConstants()[CPI0]; in produceSameValue()
1887 const MachineConstantPoolEntry &MCPE1 = MCP->getConstants()[CPI1]; in produceSameValue()
H A DARMExpandPseudoInsts.cpp2489 MachineConstantPool *MCP = MF->getConstantPool(); in ExpandMI() local
2498 .addConstantPoolIndex(MCP->getConstantPoolIndex(CPV, Align(4))); in ExpandMI()
2571 MachineConstantPool *MCP = MBB.getParent()->getConstantPool(); in ExpandMI() local
2589 .addConstantPoolIndex(MCP->getConstantPoolIndex(CPV, Align(4))); in ExpandMI()
H A DARMFastISel.cpp441 unsigned Idx = MCP.getConstantPoolIndex(cast<Constant>(CFP), Alignment); in ARMMaterializeFP()
501 unsigned Idx = MCP.getConstantPoolIndex(C, Alignment); in ARMMaterializeInt()
569 unsigned Idx = MCP.getConstantPoolIndex(CPV, Alignment); in ARMMaterializeGV()
H A DARMFrameLowering.cpp3099 MachineConstantPool *MCP = MF.getConstantPool(); in adjustForSegmentedStacks() local
3100 unsigned CPI = MCP->getConstantPoolIndex(NewCPV, Align(4)); in adjustForSegmentedStacks()
/llvm-project-15.0.7/llvm/test/CodeGen/MIR/X86/
H A Dpr38773.mir103 ; resolved to check that MCP will update debug users that are not
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DFastISel.h206 MachineConstantPool &MCP; variable
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp425 MachineConstantPool *MCP = MF->getConstantPool(); in AddOperand() local
427 Idx = MCP->getConstantPoolIndex(CP->getMachineCPVal(), Alignment); in AddOperand()
429 Idx = MCP->getConstantPoolIndex(CP->getConstVal(), Alignment); in AddOperand()
H A DFastISel.cpp1815 MFI(FuncInfo.MF->getFrameInfo()), MCP(*FuncInfo.MF->getConstantPool()), in FastISel()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp551 MachineConstantPool *MCP = MF->getConstantPool(); in finalizeInsInstrs() local
588 unsigned ConstPoolIdx = MCP->getConstantPoolIndex(NegC, Alignment); in finalizeInsInstrs()
742 MachineConstantPool *MCP = MF->getConstantPool(); in getConstantFromConstantPool() local
754 return (MCP->getConstants())[MO2.getIndex()].Val.ConstVal; in getConstantFromConstantPool()
H A DPPCFastISel.cpp1999 unsigned Idx = MCP.getConstantPoolIndex(cast<Constant>(CFP), Alignment); in PPCMaterializeFP()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2251 const MachineConstantPool *MCP = MF->getConstantPool(); in emitConstantPool() local
2252 const std::vector<MachineConstantPoolEntry> &CP = MCP->getConstants(); in emitConstantPool()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp4337 MachineConstantPool *MCP = MF.getConstantPool(); in emitConstantPoolEntry() local
4338 return MCP->getConstantPoolIndex(CPVal, Alignment); in emitConstantPoolEntry()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86FastISel.cpp3765 unsigned CPI = MCP.getConstantPoolIndex(CFP, Alignment); in X86MaterializeFP()

12