/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | XCOFFObjectFile.cpp | 332 if (is64Bit()) in getSymbolType() 377 if (is64Bit()) in getSectionAddress() 386 if (is64Bit()) in getSectionIndex() 395 if (is64Bit()) in getSectionSize() 407 if (is64Bit()) in getSectionContents() 431 if (is64Bit()) in getSectionFileOffsetToRawData() 565 if (is64Bit()) in moveRelocationNext() 625 if (is64Bit()) in getRelocationType() 728 if (is64Bit()) in isRelocatableObject() 806 if (is64Bit()) in getSectionByType() [all …]
|
H A D | COFFImportFile.cpp | 223 bool is64Bit() const { return COFF::is64Bit(NativeMachine); } in is64Bit() function in llvm::object::__anon0d0e76170211::ObjectFactory 246 u16(is64Bit() ? C_Invalid : IMAGE_FILE_32BIT_MACHINE), in createImportDescriptor() 382 u16(is64Bit() ? C_Invalid : IMAGE_FILE_32BIT_MACHINE), in createNullImportDescriptor() 431 uint32_t VASize = is64Bit() ? 8 : 4; in createNullThunk() 445 u16(is64Bit() ? C_Invalid : IMAGE_FILE_32BIT_MACHINE), in createNullThunk() 460 u32((is64Bit() ? IMAGE_SCN_ALIGN_8BYTES : IMAGE_SCN_ALIGN_4BYTES) | in createNullThunk() 473 u32((is64Bit() ? IMAGE_SCN_ALIGN_8BYTES : IMAGE_SCN_ALIGN_4BYTES) | in createNullThunk() 481 if (is64Bit()) in createNullThunk() 486 if (is64Bit()) in createNullThunk()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86MCAsmInfo.cpp | 40 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin() local 41 if (is64Bit) in X86MCAsmInfoDarwin() 48 if (!is64Bit) in X86MCAsmInfoDarwin() 83 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo() local 89 CodePointerSize = (is64Bit && !isX32) ? 8 : 4; in X86ELFMCAsmInfo() 92 CalleeSaveStackSlotSize = is64Bit ? 8 : 4; in X86ELFMCAsmInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86Subtarget.h | 195 return hasCX16() && is64Bit(); in canUseCMPXCHG16B() 199 bool canUseCMOV() const { return hasCMOV() || hasSSE1() || is64Bit(); } in canUseCMOV() 228 bool canUseLAHFSAHF() const { return hasLAHFSAHF64() || !is64Bit(); } in canUseLAHFSAHF() 280 bool isXRaySupported() const override { return is64Bit(); } in isXRaySupported() 285 bool hasCLFLUSH() const { return hasSSE2() || is64Bit(); } in hasCLFLUSH() 290 bool hasMFence() const { return hasSSE2() || is64Bit(); } in hasMFence() 309 bool isTargetNaCl32() const { return isTargetNaCl() && !is64Bit(); } in isTargetNaCl32() 310 bool isTargetNaCl64() const { return isTargetNaCl() && is64Bit(); } in isTargetNaCl64()
|
H A D | X86Subtarget.cpp | 83 if (is64Bit()) { in classifyLocalReference() 158 if (is64Bit()) { in classifyGlobalReference() 211 if (is64Bit() && F && (CallingConv::X86_RegCall == F->getCallingConv())) in classifyGlobalFunctionReference() 219 is64Bit()) in classifyGlobalFunctionReference() 222 if (!is64Bit() && !GV && TM.getRelocationModel() == Reloc::Static) in classifyGlobalFunctionReference() 227 if (is64Bit()) { in classifyGlobalFunctionReference() 340 else if (is64Bit()) in X86Subtarget()
|
H A D | X86ArgumentStackSlotRebase.cpp | 79 RC = STI.is64Bit() ? &X86::GR64_ArgRefRegClass : &X86::GR32_ArgRefRegClass; in getArgBaseReg() 93 RC = STI.is64Bit() ? &X86::GR64_ArgRefRegClass : nullptr; in getArgBaseReg() 165 TII->get(STI.is64Bit() ? X86::PLEA64r : X86::PLEA32r), ArgBaseReg) in runOnMachineFunction()
|
H A D | X86ISelLoweringCall.cpp | 263 if (Subtarget.is64Bit()) { in getByValTypeAlignment() 435 if (Subtarget.is64Bit()) in markLibCallAttributes() 473 if (!Subtarget.is64Bit()) in getPICJumpTableRelocBase() 488 (Subtarget.is64Bit() && in getPICJumpTableRelocBaseExpr() 524 if (Subtarget.is64Bit()) in getAddressSpace() 816 if (Subtarget.is64Bit()) { in LowerReturn() 1412 assert(Subtarget.is64Bit()); in get64BitArgumentGPRs() 1431 assert(Subtarget.is64Bit()); in get64BitArgumentXMMs() 1485 bool is64Bit() const { return Subtarget.is64Bit(); } in is64Bit() function in __anon6fe0ccd90211::VarArgsLoweringHelper 1515 if (is64Bit()) { in createVarArgAreaAndStoreRegisters() [all …]
|
H A D | X86TargetMachine.cpp | 172 bool is64Bit = TT.getArch() == Triple::x86_64; in getEffectiveRelocModel() local 183 if (is64Bit) in getEffectiveRelocModel() 187 if (TT.isOSWindows() && is64Bit) in getEffectiveRelocModel() 197 if (is64Bit) in getEffectiveRelocModel() 205 if (*RM == Reloc::Static && TT.isOSDarwin() && is64Bit) in getEffectiveRelocModel()
|
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
H A D | RISCVTargetParser.cpp | 32 bool is64Bit() const { return DefaultMarch.starts_with("rv64"); } in is64Bit() function 58 return Info->is64Bit() == IsRV64; in parseCPU() 84 if (IsRV64 == C.is64Bit()) in fillValidCPUArchList() 91 if (IsRV64 == C.is64Bit()) in fillValidTuneCPUArchList()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCAsmInfo.cpp | 20 PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) { in PPCELFMCAsmInfo() argument 25 if (is64Bit) { in PPCELFMCAsmInfo() 51 Data64bitsDirective = is64Bit ? "\t.quad\t" : nullptr; in PPCELFMCAsmInfo()
|
H A D | PPCMCAsmInfo.h | 26 explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &); 33 explicit PPCXCOFFMCAsmInfo(bool is64Bit, const Triple &);
|
H A D | PPCELFObjectWriter.cpp | 289 if (is64Bit()) in getRelocType() 304 if (is64Bit()) in getRelocType() 404 if (is64Bit()) in getRelocType() 410 if (is64Bit()) in getRelocType() 416 if (is64Bit()) in getRelocType()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | XCOFFObjectWriter.cpp | 361 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function in __anon266617410111::XCOFFObjectWriter 844 if (is64Bit()) { in writeSymbolEntry() 865 if (is64Bit()) { in writeSymbolAuxCsectEntry() 878 if (!is64Bit()) in writeSymbolAuxDwarfEntry() 881 if (is64Bit()) { in writeSymbolAuxDwarfEntry() 958 if (is64Bit()) in writeSymbolAuxFunctionEntry() 963 if (!is64Bit()) in writeSymbolAuxFunctionEntry() 966 if (is64Bit()) { in writeSymbolAuxFunctionEntry() 990 if (is64Bit()) { in writeFileHeader() 1039 if (is64Bit()) { in writeSectionHeader() [all …]
|
H A D | MachObjectWriter.cpp | 159 if (is64Bit()) in writeHeader() 187 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand() 195 if (is64Bit()) { in writeSegmentLoadCommand() 238 if (is64Bit()) { in writeSection() 253 if (is64Bit()) in writeSection() 402 if (is64Bit()) in writeNlist() 423 const std::vector<std::string> &Options, bool is64Bit) in ComputeLinkerOptionsLoadCommandSize() argument 428 return alignTo(Size, is64Bit ? 8 : 4); in ComputeLinkerOptionsLoadCommandSize() 746 unsigned Log2Size = is64Bit() ? 3 : 2; in populateAddrSigSection() 791 uint64_t LoadCommandsSize = is64Bit() ? in writeObject() [all …]
|
H A D | ELFObjectWriter.cpp | 143 bool is64Bit() const; 160 if (is64Bit()) in WriteWord() 393 bool ELFWriter::is64Bit() const { in is64Bit() function in ELFWriter 394 return OWriter.TargetObjectWriter->is64Bit(); in is64Bit() 446 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Ehdr) in writeHeader() 453 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Shdr) in writeHeader() 646 SymbolTableWriter Writer(*this, is64Bit()); in computeSymbolTable() 859 if (is64Bit()) { in maybeWriteCompression() 919 Section.setAlignment(is64Bit() ? Align(8) : Align(4)); in writeSectionData() 957 if (is64Bit()) { in writeRelocations() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcTargetMachine.cpp | 38 static std::string computeDataLayout(const Triple &T, bool is64Bit) { in computeDataLayout() argument 44 if (!is64Bit) in computeDataLayout() 52 if (is64Bit) in computeDataLayout() 57 if (is64Bit) in computeDataLayout() 110 TLOF(std::make_unique<SparcELFTargetObjectFile>()), is64Bit(is64bit) { in SparcTargetMachine() 144 this->is64Bit); in getSubtargetImpl()
|
H A D | SparcSubtarget.cpp | 51 bool is64Bit) in SparcSubtarget() argument 54 TargetTriple(TM.getTargetTriple()), Is64Bit(is64Bit), in SparcSubtarget() 60 if (is64Bit()) { in getAdjustedFrameSize()
|
H A D | SparcSubtarget.h | 83 bool is64Bit() const { return Is64Bit; } in is64Bit() function 88 return is64Bit() ? 2047 : 0; in getStackPointerBias()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | XCOFFDumper.cpp | 117 if (Obj.is64Bit()) { in printFileHeaders() 139 if (Obj.is64Bit()) in printAuxiliaryHeader() 146 if (Obj.is64Bit()) in printSectionHeaders() 194 if (Obj.is64Bit()) { in printLoaderSectionHeader() 267 if (Obj.is64Bit()) in printLoaderSectionSymbols() 397 if (Obj.is64Bit()) in printLoaderSectionRelocationEntries() 444 if (Obj.is64Bit()) in printExceptionSection() 451 if (Obj.is64Bit()) in printRelocations() 539 if (Obj.is64Bit()) { in printFileAuxEnt() 584 if (Obj.is64Bit()) { in printCsectAuxEnt() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCMachObjectWriter.h | 63 bool is64Bit() const { return Is64Bit; } in is64Bit() function 132 StringTable(TargetObjectWriter->is64Bit() ? StringTableBuilder::MachO64 in MachObjectWriter() 172 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
H A D | WebAssemblyWasmObjectWriter.cpp | 81 return is64Bit() ? wasm::R_WASM_TABLE_INDEX_REL_SLEB64 in getRelocType() 84 return is64Bit() ? wasm::R_WASM_MEMORY_ADDR_TLS_SLEB64 in getRelocType() 88 return is64Bit() ? wasm::R_WASM_MEMORY_ADDR_REL_SLEB64 in getRelocType()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | TapiFile.h | 53 bool is64Bit() const override { return MachO::is64Bit(Arch); } in is64Bit() function
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVSubtarget.h | 163 bool is64Bit() const { return IsRV64; } in is64Bit() function 165 return is64Bit() ? MVT::i64 : MVT::i32; in getXLenVT() 168 return is64Bit() ? 64 : 32; in getXLen()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchSubtarget.h | 95 bool is64Bit() const { return HasLA64; } in is64Bit() function 112 bool isXRaySupported() const override { return is64Bit(); } in isXRaySupported()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXRegisterInfo.cpp | 131 return TM.is64Bit() ? NVPTX::VRFrame64 : NVPTX::VRFrame32; in getFrameRegister() 138 return TM.is64Bit() ? NVPTX::VRFrameLocal64 : NVPTX::VRFrameLocal32; in getFrameLocalRegister()
|