Searched refs:CPE (Results 1 – 8 of 8) sorted by relevance
150 MachineConstantPoolEntry CPE = CP[i]; in emitConstantPool() local153 ELFSection &CstPool = EW.getConstantPoolSection(CPE); in emitConstantPool()157 if (CPE.isMachineConstantPoolEntry()) in emitConstantPool()161 EW.EmitGlobalConstant(CPE.Val.ConstVal, CstPool); in emitConstantPool()
194 ELFSection &getConstantPoolSection(MachineConstantPoolEntry &CPE);
232 ELFSection &ELFWriter::getConstantPoolSection(MachineConstantPoolEntry &CPE) { in getConstantPoolSection() argument234 switch (CPE.getRelocationInfo()) { in getConstantPoolSection()241 switch (TM.getTargetData()->getTypeAllocSize(CPE.getType())) { in getConstantPoolSection()252 CPSect->getFlags(), CPE.getAlignment()); in getConstantPoolSection()
61 goto CPE; in compare_parp()68 CPE: in compare_parp()
770 MachineConstantPoolEntry CPE = Constants[i]; in GetConstantPoolSizeInBytes() local771 unsigned AlignMask = CPE.getAlignment() - 1; in GetConstantPoolSizeInBytes()773 Type *Ty = CPE.getType(); in GetConstantPoolSizeInBytes()1086 MachineConstantPoolEntry CPE = Constants[i]; in emitConstantPool() local1087 unsigned AlignMask = CPE.getAlignment() - 1; in emitConstantPool()1092 if (CPE.isMachineConstantPoolEntry()) { in emitConstantPool()1097 TheJIT->InitializeMemory(CPE.Val.ConstVal, (void*)CAddr); in emitConstantPool()1101 Type *Ty = CPE.Val.ConstVal->getType(); in emitConstantPool()
976 const MachineConstantPoolEntry &CPE = CP[i]; in EmitConstantPool() local977 unsigned Align = CPE.getAlignment(); in EmitConstantPool()980 switch (CPE.getRelocationInfo()) { in EmitConstantPool()987 switch (TM.getTargetData()->getTypeAllocSize(CPE.getType())) { in EmitConstantPool()1025 MachineConstantPoolEntry CPE = CP[CPI]; in EmitConstantPool() local1028 unsigned AlignMask = CPE.getAlignment() - 1; in EmitConstantPool()1032 Type *Ty = CPE.getType(); in EmitConstantPool()1036 if (CPE.isMachineConstantPoolEntry()) in EmitConstantPool()1037 EmitMachineConstantPoolValue(CPE.Val.MachineCPVal); in EmitConstantPool()1039 EmitGlobalConstant(CPE.Val.ConstVal); in EmitConstantPool()
374 const CPEntry & CPE = CPEntries[i][j]; in runOnMachineFunction() local375 AFI->recordCPEClone(i, CPE.CPI); in runOnMachineFunction()641 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI); in InitialFunctionScan() local642 assert(CPE && "Cannot find a corresponding CPEntry!"); in InitialFunctionScan()643 CPE->RefCount++; in InitialFunctionScan()991 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI); in DecrementOldEntry() local992 assert(CPE && "Unexpected!"); in DecrementOldEntry()993 if (--CPE->RefCount == 0) { in DecrementOldEntry()995 CPE->CPEMI = NULL; in DecrementOldEntry()
1038 const MachineConstantPoolEntry &CPE = MCP->getConstants()[CPI]; in EmitUnwindingInstruction() local1039 assert(!CPE.isMachineConstantPoolEntry() && "Invalid constpool entry"); in EmitUnwindingInstruction()1041 Offset = -cast<ConstantInt>(CPE.Val.ConstVal)->getSExtValue(); in EmitUnwindingInstruction()