/freebsd-10.1-release/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCPredicates.cpp | 1 //===-- PPCPredicates.cpp - PPC Branch Predicate Information --------------===// 19 PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) { 21 case PPC::PRED_EQ: return PPC::PRED_NE; 22 case PPC::PRED_NE: return PPC::PRED_EQ; 23 case PPC::PRED_LT: return PPC [all...] |
H A D | PPCFixupKinds.h | 1 //===-- PPCFixupKinds.h - PPC Specific Fixup Entries ------------*- C++ -*-===// 15 #undef PPC macro 18 namespace PPC { namespace in namespace:llvm
|
H A D | PPCPredicates.h | 1 //===-- PPCPredicates.h - PPC Branch Predicate Information ------*- C++ -*-===// 17 // GCC #defines PPC on Linux but we use it as our namespace name 18 #undef PPC macro 20 // Generated files will use "namespace PPC". To avoid symbol clash, 21 // undefine PPC here. PPC may be predefined on some hosts. 22 #undef PPC macro 25 namespace PPC { namespace in namespace:llvm
|
H A D | PPCAsmBackend.cpp | 1 //===-- PPCAsmBackend.cpp - PPC Assembler Backend -------------------------===// 33 case PPC::fixup_ppc_nofixup: 35 case PPC::fixup_ppc_brcond14: 36 case PPC::fixup_ppc_brcond14abs: 38 case PPC::fixup_ppc_br24: 39 case PPC::fixup_ppc_br24abs: 41 case PPC::fixup_ppc_half16: 43 case PPC::fixup_ppc_half16ds: 55 case PPC::fixup_ppc_half16: 56 case PPC [all...] |
H A D | PPCMCCodeEmitter.cpp | 1 //===-- PPCMCCodeEmitter.cpp - Convert PPC code to machine code -----------===// 91 if (Opcode == PPC::BL8_NOP || Opcode == PPC::BLA8_NOP || 92 Opcode == PPC::BL8_NOP_TLS) 124 (MCFixupKind)PPC::fixup_ppc_br24)); 135 (MCFixupKind)PPC::fixup_ppc_brcond14)); 147 (MCFixupKind)PPC::fixup_ppc_br24abs)); 159 (MCFixupKind)PPC::fixup_ppc_brcond14abs)); 170 (MCFixupKind)PPC::fixup_ppc_half16)); 187 (MCFixupKind)PPC [all...] |
H A D | PPCMCTargetDesc.h | 17 // GCC #defines PPC on Linux but we use it as our namespace name 18 #undef PPC macro 46 /// createPPCELFObjectWriter - Construct an PPC ELF object writer. 50 /// createPPCELFObjectWriter - Construct a PPC Mach-O object writer. 56 // Generated files will use "namespace PPC". To avoid symbol clash, 57 // undefine PPC here. PPC may be predefined on some hosts. 58 #undef PPC macro
|
H A D | PPCELFObjectWriter.cpp | 1 //===-- PPCELFObjectWriter.cpp - PPC ELF Writer ---------------------------===// 65 case PPC::fixup_ppc_br24: 66 case PPC::fixup_ppc_br24abs: 69 case PPC::fixup_ppc_brcond14: 70 case PPC::fixup_ppc_brcond14abs: 73 case PPC::fixup_ppc_half16: 102 case PPC::fixup_ppc_br24abs: 105 case PPC::fixup_ppc_brcond14abs: 108 case PPC::fixup_ppc_half16: 265 case PPC [all...] |
H A D | PPCMachObjectWriter.cpp | 1 //===-- PPCMachObjectWriter.cpp - PPC Mach-O Writer -----------------------===// 70 case PPC::fixup_ppc_brcond14: 71 case PPC::fixup_ppc_half16: 72 case PPC::fixup_ppc_br24: 82 /// Translates generic PPC fixup kind to Mach-O/PPC relocation type enum. 97 case PPC::fixup_ppc_br24: 100 case PPC::fixup_ppc_brcond14: 103 case PPC::fixup_ppc_half16: 123 case PPC [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Target/PowerPC/ |
H A D | PPCFrameLowering.h | 16 #include "PPC.h" 148 static const SpillSlot darwin64Offsets = {PPC::X31, -8}; 151 static const SpillSlot darwinOffsets = {PPC::R31, -4}; 167 {PPC::F31, -8}, 168 {PPC::F30, -16}, 169 {PPC::F29, -24}, 170 {PPC::F28, -32}, 171 {PPC::F27, -40}, 172 {PPC::F26, -48}, 173 {PPC [all...] |
H A D | PPCRelocations.h | 1 //===-- PPCRelocations.h - PPC Code Relocations -----------------*- C++ -*-===// 19 // Hack to rid us of a PPC pre-processor symbol which is erroneously 20 // defined in a PowerPC header file (bug in Linux/PPC) 21 #ifdef PPC 22 #undef PPC macro 26 namespace PPC { namespace in namespace:llvm
|
H A D | PPCInstrInfo.cpp | 16 #include "PPC.h" 52 : PPCGenInstrInfo(PPC::ADJCALLSTACKDOWN, PPC::ADJCALLSTACKUP), 61 if (Directive == PPC::DIR_440 || Directive == PPC::DIR_A2 || 62 Directive == PPC::DIR_E500mc || Directive == PPC::DIR_E5500) { 78 if (Directive != PPC::DIR_440 && Directive != PPC::DIR_A2 && 79 Directive != PPC [all...] |
H A D | PPCRegisterInfo.cpp | 17 #include "PPC.h" 60 : PPCGenRegisterInfo(ST.isPPC64() ? PPC::LR8 : PPC::LR, 64 ImmToIdxMap[PPC::LD] = PPC::LDX; ImmToIdxMap[PPC::STD] = PPC::STDX; 65 ImmToIdxMap[PPC::LBZ] = PPC::LBZX; ImmToIdxMap[PPC [all...] |
H A D | PPCBranchSelector.cpp | 19 #include "PPC.h" 116 if (I->getOpcode() == PPC::BCC && !I->getOperand(2).isImm()) 118 else if ((I->getOpcode() == PPC::BDNZ8 || I->getOpcode() == PPC::BDNZ || 119 I->getOpcode() == PPC::BDZ8 || I->getOpcode() == PPC::BDZ) && 158 if (I->getOpcode() == PPC::BCC) { 160 // 0. PPC branch predicate 163 PPC::Predicate Pred = (PPC [all...] |
H A D | PPCFrameLowering.cpp | 1 //===-- PPCFrameLowering.cpp - PPC Frame Information ----------------------===// 10 // This file contains the PPC implementation of TargetFrameLowering class. 32 PPC::V0 , PPC::V1 , PPC::V2 , PPC::V3 , PPC::V4 , PPC::V5 , PPC::V6 , PPC [all...] |
H A D | PPCISelDAGToDAG.cpp | 1 //===-- PPCISelDAGToDAG.cpp - PPC --pattern matching inst selector --------===// 11 // converting from a legalized dag to a PPC dag. 16 #include "PPC.h" 43 /// PPCDAGToDAGISel - PPC specific code to select PPC machine 199 if (RegInfo->getRegClass(Reg) == &PPC::VRRCRegClass) { 218 unsigned InVRSAVE = RegInfo->createVirtualRegister(&PPC::GPRCRegClass); 219 unsigned UpdatedVRSAVE = RegInfo->createVirtualRegister(&PPC::GPRCRegClass); 229 BuildMI(EntryBB, IP, dl, TII.get(PPC::MFVRSAVE), InVRSAVE); 230 BuildMI(EntryBB, IP, dl, TII.get(PPC [all...] |
H A D | PPCFastISel.cpp | 17 #include "PPC.h" 149 unsigned FP64LoadOpc = PPC::LFD); 204 static Optional<PPC::Predicate> getComparePred(CmpInst::Predicate Pred) { 216 return Optional<PPC::Predicate>(); 220 return PPC::PRED_EQ; 225 return PPC::PRED_GT; 230 return PPC::PRED_GE; 235 return PPC::PRED_LT; 240 return PPC::PRED_LE; 244 return PPC [all...] |
H A D | PPCAsmPrinter.cpp | 20 #include "PPC.h" 99 return "Linux PPC Assembly Printer"; 117 return "Darwin PPC Assembly Printer"; 250 break; // PPC never has a prefix. 334 case PPC::MovePCtoLR: 335 case PPC::MovePCtoLR8: { 343 OutStreamer.EmitInstruction(MCInstBuilder(PPC::BL) 352 case PPC::LDtocJTI: 353 case PPC::LDtocCPT: 354 case PPC [all...] |
H A D | PPCCodeEmitter.cpp | 15 #include "PPC.h" 90 /// createPPCCodeEmitterPass - Return a pass that emits the collected PPC code 131 case PPC::MovePCtoLR: 132 case PPC::MovePCtoLR8: 145 assert((MI.getOpcode() == PPC::MTOCRF || MI.getOpcode() == PPC::MTOCRF8 || 146 MI.getOpcode() == PPC::MFOCRF || MI.getOpcode() == PPC::MFOCRF8) && 147 (MO.getReg() >= PPC::CR0 && MO.getReg() <= PPC [all...] |
H A D | PPCISelLowering.cpp | 1 //===-- PPCISelLowering.cpp - PPC DAG Lowering Implementation -------------===// 41 cl::desc("disable preincrement load/store generation on PPC"), cl::Hidden); 44 cl::desc("disable setting the node scheduling preference to ILP on PPC"), cl::Hidden); 47 cl::desc("disable unaligned load/store generation on PPC"), cl::Hidden); 75 addRegisterClass(MVT::i32, &PPC::GPRCRegClass); 76 addRegisterClass(MVT::f32, &PPC::F4RCRegClass); 77 addRegisterClass(MVT::f64, &PPC::F8RCRegClass); 346 addRegisterClass(MVT::i64, &PPC::G8RCRegClass); 459 addRegisterClass(MVT::v4f32, &PPC::VRRCRegClass); 460 addRegisterClass(MVT::v4i32, &PPC [all...] |
H A D | PPCSubtarget.cpp | 1 //===-- PowerPCSubtarget.cpp - PPC Subtarget Information ------------------===// 10 // This file implements the PPC specific subclass of TargetSubtargetInfo. 15 #include "PPC.h" 72 DarwinDirective = PPC::DIR_NONE; 175 CriticalPathRCs.push_back(&PPC::G8RCRegClass); 177 CriticalPathRCs.push_back(&PPC::GPRCRegClass); 186 case PPC::DIR_440: 187 case PPC::DIR_A2: 188 case PPC::DIR_E500mc: 189 case PPC [all...] |
H A D | PPCTargetTransformInfo.cpp | 1 //===-- PPCTargetTransformInfo.cpp - PPC specific TTI pass ----------------===// 11 /// PPC target machine. It uses the target's detailed information to provide 18 #include "PPC.h" 111 "PPC Target Transform Info", true, true, false) 122 // PPC cost model. 134 if (ST->getDarwinDirective() == PPC::DIR_A2) { 163 if (Directive == PPC::DIR_440) 168 if (Directive == PPC::DIR_A2) 172 if (Directive == PPC::DIR_E500mc || Directive == PPC [all...] |
H A D | PPCJITInfo.cpp | 146 // ELF PPC 32 support 418 switch ((PPC::RelocationType)MR->getRelocationType()) { 420 case PPC::reloc_pcrel_bx: 427 case PPC::reloc_pcrel_bcx: 435 case PPC::reloc_absolute_high: // high bits of ref -> low 16 of instr 436 case PPC::reloc_absolute_low: { // low bits of ref -> low 16 of instr 440 if (MR->getRelocationType() == PPC::reloc_absolute_high) { 455 case PPC::reloc_absolute_low_ix: { // low bits of ref -> low 14 of instr
|
H A D | PPC.h | 1 //===-- PPC.h - Top-level interface for PowerPC Target ----------*- C++ -*-===// 21 // GCC #defines PPC on Linux but we use it as our namespace name 22 #undef PPC macro 45 /// \brief Creates an PPC-specific Target Transformation Info pass. 53 // PPC Specific MachineOperand flags.
|
/freebsd-10.1-release/contrib/llvm/lib/Target/PowerPC/InstPrinter/ |
H A D | PPCInstPrinter.cpp | 1 //===-- PPCInstPrinter.cpp - Convert PPC MCInst to assembly syntax --------===// 10 // This class prints an PPC MCInst to a .s file. 41 if (MI->getOpcode() == PPC::RLWINM) { 64 if ((MI->getOpcode() == PPC::OR || MI->getOpcode() == PPC::OR8) && 74 if (MI->getOpcode() == PPC::RLDICR) { 111 switch ((PPC::Predicate)Code) { 112 case PPC::PRED_LT_MINUS: 113 case PPC::PRED_LT_PLUS: 114 case PPC [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Target/PowerPC/AsmParser/ |
H A D | PPCAsmParser.cpp | 36 PPC::R0, PPC::R1, PPC::R2, PPC::R3, 37 PPC::R4, PPC::R5, PPC::R6, PPC::R7, 38 PPC::R8, PPC [all...] |