| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCSubtarget.h | 98 bool IsPPC64; variable 256 return IsPPC64 ? 8 : 4; in descriptorTOCAnchorOffset() 262 return IsPPC64 ? 16 : 8; in descriptorEnvironmentPointerOffset() 268 return IsPPC64 ? PPC::X11 : PPC::R11; in getEnvironmentPointerRegister() 274 return IsPPC64 ? PPC::X2 : PPC::R2; in getTOCPointerRegister() 278 return IsPPC64 ? PPC::X1 : PPC::R1; in getStackPointerRegister() 281 bool isXRaySupported() const override { return IsPPC64 && IsLittleEndian; } in isXRaySupported()
|
| H A D | PPCSubtarget.cpp | 62 IsPPC64(TargetTriple.getArch() == Triple::ppc64 || in PPCSubtarget() 106 if (IsPPC64 && has64BitSupport()) in initSubtargetFeatures() 114 if (HasSPE && IsPPC64) in initSubtargetFeatures()
|
| H A D | PPCAsmPrinter.cpp | 659 const bool IsPPC64 = Subtarget->isPPC64(); in emitInstruction() local 703 [IsPPC64, getTOCRelocAdjustedExprForXCOFF, in emitInstruction() 707 const unsigned EntryByteSize = IsPPC64 ? 8 : 4; in emitInstruction() 986 TmpInst.setOpcode((!IsPPC64) ? (PPC::LA) : (PPC::LA8)); in emitInstruction() 1039 assert((IsAIX && !IsPPC64 && TM.getCodeModel() == CodeModel::Large) && in emitInstruction() 1071 assert(IsAIX && !IsPPC64 && TM.getCodeModel() == CodeModel::Large && in emitInstruction() 1201 assert(IsPPC64 && "Not supported for 32-bit PowerPC"); in emitInstruction() 1220 TmpInst.setOpcode(IsPPC64 ? PPC::LD : PPC::LWZ); in emitInstruction() 1225 MOSymbol, IsPPC64 ? MCSymbolRefExpr::VK_PPC_GOT_TPREL_LO in emitInstruction() 1280 assert(IsPPC64 && "Not supported for 32-bit PowerPC"); in emitInstruction() [all …]
|
| H A D | PPCInstrVSX.td | 127 def IsPPC64 : Predicate<"Subtarget->isPPC64()">; 2456 // [HasVSX, HasP8Vector, IsBigEndian, IsPPC64] 2458 // [HasVSX, HasP8Vector, NoP9Vector, IsBigEndian, IsPPC64] 2464 // [HasVSX, HasDirectMove, NoP9Altivec, IsBigEndian, IsPPC64] 2465 // [HasVSX, HasDirectMove, NoP9Vector, IsBigEndian, IsPPC64] 2471 // [HasVSX, HasP9Vector, IsBigEndian, IsPPC64] 2474 // [HasVSX, HasP9Altivec, IsBigEndian, IsPPC64] 2476 // [HasVSX, IsISA3_0, HasDirectMove, IsBigEndian, IsPPC64] 3398 let Predicates = [HasVSX, HasP8Vector, IsBigEndian, IsPPC64] in { 3433 } // HasVSX, HasP8Vector, IsBigEndian, IsPPC64 [all …]
|
| H A D | PPCISelLowering.cpp | 5499 const bool IsPPC64 = Subtarget.isPPC64(); in buildCallOperands() local 5501 const MVT RegVT = IsPPC64 ? MVT::i64 : MVT::i32; in buildCallOperands() 5539 Ops.push_back(DAG.getRegister(IsPPC64 ? PPC::CTR8 : PPC::CTR, RegVT)); in buildCallOperands() 6598 const bool IsPPC64 = Subtarget.isPPC64(); in CC_AIX() local 6599 const Align PtrAlign = IsPPC64 ? Align(8) : Align(4); in CC_AIX() 6600 const MVT RegVT = IsPPC64 ? MVT::i64 : MVT::i32; in CC_AIX() 6640 if (unsigned Reg = State.AllocateReg(IsPPC64 ? GPR_64 : GPR_32)) in CC_AIX() 6658 assert(IsPPC64 && "PPC32 should have split i64 values."); in CC_AIX() 6667 if (unsigned Reg = State.AllocateReg(IsPPC64 ? GPR_64 : GPR_32)) in CC_AIX() 6681 State.AllocateStack(IsPPC64 ? 8 : StoreSize, Align(4)); in CC_AIX() [all …]
|
| H A D | PPCISelDAGToDAG.cpp | 5499 bool IsPPC64 = Subtarget->isPPC64(); in Select() local 5500 if (IsPPC64 && isInt64Immediate(N->getOperand(1), Imm64) && in Select() 5522 bool IsPPC64 = Subtarget->isPPC64(); in Select() local 5523 if (IsPPC64 && isInt64Immediate(N->getOperand(1), Imm64) && in Select() 5818 bool IsPPC64 = Subtarget->isPPC64(); in Select() local 5821 ? (IsPPC64 ? PPC::BDNZ8 : PPC::BDNZ) in Select() 5822 : (IsPPC64 ? PPC::BDZ8 : PPC::BDZ), in Select()
|
| H A D | PPCInstrP10.td | 2360 let Predicates = [IsISA3_1, HasVSX, IsBigEndian, IsPPC64] in {
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/AsmParser/ |
| H A D | PPCAsmParser.cpp | 100 bool IsPPC64; member in __anona917cc7a0111::PPCAsmParser 104 bool isPPC64() const { return IsPPC64; } in isPPC64() 149 IsPPC64 = TheTriple.isPPC64(); in PPCAsmParser() 179 bool IsPPC64; member 213 IsPPC64 = o.IsPPC64; in PPCOperand() 246 bool isPPC64() const { return IsPPC64; } in isPPC64() 400 if (!IsPPC64) { in isDirectBr() 657 bool IsPPC64) { in CreateToken() 663 Op->IsPPC64 = IsPPC64; in CreateToken() 668 CreateTokenWithStringCopy(StringRef Str, SMLoc S, bool IsPPC64) { in CreateTokenWithStringCopy() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 486 bool IsPPC64 = TargetTriple.getArch() == Triple::ppc64 || in getShadowMapping() local 533 else if (IsPPC64) in getShadowMapping() 591 Mapping.OrShadowOffset = !IsAArch64 && !IsPPC64 && !IsSystemZ && !IsPS && in getShadowMapping()
|