Home
last modified time | relevance | path

Searched refs:getObjectFormat (Results 1 – 10 of 10) sorted by relevance

/external/llvm/unittests/ADT/
DTripleTest.cpp500 EXPECT_EQ(Triple::ELF, Triple("i686-unknown-linux-gnu").getObjectFormat()); in TEST()
501 EXPECT_EQ(Triple::ELF, Triple("i686-unknown-freebsd").getObjectFormat()); in TEST()
502 EXPECT_EQ(Triple::ELF, Triple("i686-unknown-netbsd").getObjectFormat()); in TEST()
503 EXPECT_EQ(Triple::ELF, Triple("i686--win32-elf").getObjectFormat()); in TEST()
504 EXPECT_EQ(Triple::ELF, Triple("i686---elf").getObjectFormat()); in TEST()
506 EXPECT_EQ(Triple::MachO, Triple("i686-apple-macosx").getObjectFormat()); in TEST()
507 EXPECT_EQ(Triple::MachO, Triple("i686-apple-ios").getObjectFormat()); in TEST()
508 EXPECT_EQ(Triple::MachO, Triple("i686---macho").getObjectFormat()); in TEST()
510 EXPECT_EQ(Triple::COFF, Triple("i686--win32").getObjectFormat()); in TEST()
512 EXPECT_EQ(Triple::ELF, Triple("i686-pc-windows-msvc-elf").getObjectFormat()); in TEST()
[all …]
/external/llvm/include/llvm/ADT/
DTriple.h212 ObjectFormatType getObjectFormat() const { return ObjectFormat; } in getObjectFormat() function
397 return getObjectFormat() == Triple::ELF; in isOSBinFormatELF()
402 return getObjectFormat() == Triple::COFF; in isOSBinFormatCOFF()
407 return getObjectFormat() == Triple::MachO; in isOSBinFormatMachO()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp360 switch (TheTriple.getObjectFormat()) { in createMCStreamer()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCTargetDesc.cpp279 switch (TheTriple.getObjectFormat()) { in createMCStreamer()
DARMAsmBackend.cpp810 switch (TheTriple.getObjectFormat()) { in createARMAsmBackend()
/external/clang/lib/Frontend/
DInitHeaderSearch.cpp476 triple.getObjectFormat() == llvm::Triple::MachO) in AddDefaultIncludePaths()
/external/llvm/lib/MC/
DMCObjectFileInfo.cpp838 (TT.isOSWindows() && TT.getObjectFormat() == Triple::COFF)) { in InitMCObjectFileInfo()
/external/clang/lib/Driver/
DDriver.cpp2024 if (Target.getObjectFormat() == llvm::Triple::MachO) { in getToolChain()
DTools.cpp759 Triple.getObjectFormat() == llvm::Triple::MachO) || in AddARMTargetArgs()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp6194 switch (Subtarget->getTargetTriple().getObjectFormat()) { in LowerOperation()