Home
last modified time | relevance | path

Searched refs:PICLevel (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_compiler.cc767 llvm::PICLevel::Level pic_level = llvm::PICLevel::NotPIC; in CompileAheadOfTime()
772 pic_level = llvm::PICLevel::NotPIC; in CompileAheadOfTime()
777 pic_level = llvm::PICLevel::SmallPIC; in CompileAheadOfTime()
782 pic_level = llvm::PICLevel::BigPIC; in CompileAheadOfTime()
787 pic_level = llvm::PICLevel::SmallPIC; in CompileAheadOfTime()
792 pic_level = llvm::PICLevel::BigPIC; in CompileAheadOfTime()
808 if (pic_level != llvm::PICLevel::NotPIC) { in CompileAheadOfTime()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DModule.cpp480 PICLevel::Level Module::getPICLevel() const { in getPICLevel()
484 return PICLevel::NotPIC; in getPICLevel()
486 return static_cast<PICLevel::Level>( in getPICLevel()
490 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
/external/llvm/lib/IR/
DModule.cpp486 PICLevel::Level Module::getPICLevel() const { in getPICLevel()
490 return PICLevel::NotPIC; in getPICLevel()
492 return static_cast<PICLevel::Level>( in getPICLevel()
496 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
/external/llvm/include/llvm/Support/
DCodeGen.h31 namespace PICLevel {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DCodeGen.h31 namespace PICLevel {
/external/clang/lib/Frontend/
DInitPreprocessor.cpp873 if (unsigned PICLevel = LangOpts.PICLevel) { in InitializePredefinedMacros() local
874 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros()
875 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros()
877 Builder.defineMacro("__PIE__", Twine(PICLevel)); in InitializePredefinedMacros()
878 Builder.defineMacro("__pie__", Twine(PICLevel)); in InitializePredefinedMacros()
DCompilerInvocation.cpp1924 Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in ParseLangArgs()
2359 LangOpts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in CreateFromArgs()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DModule.h826 PICLevel::Level getPICLevel() const;
829 void setPICLevel(PICLevel::Level PL);
/external/llvm/include/llvm/IR/
DModule.h798 PICLevel::Level getPICLevel() const;
801 void setPICLevel(PICLevel::Level PL);
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp483 PICLevel::Level PL = M->getPICLevel(); in EmitInstruction()
587 if (PL == PICLevel::SmallPIC) { in EmitInstruction()
1031 if (M.getPICLevel() == PICLevel::SmallPIC) in EmitStartOfAsmFile()
1058 MF->getFunction()->getParent()->getPICLevel() == PICLevel::SmallPIC)) in EmitFunctionEntryLabel()
DPPCISelDAGToDAG.cpp322 if (M->getPICLevel() == PICLevel::SmallPIC) { in getGlobalBaseReg()
DPPCISelLowering.cpp2223 PICLevel::Level picLevel = M->getPICLevel(); in LowerGlobalTLSAddress()
2264 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddress()
2282 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp511 PICLevel::Level PL = M->getPICLevel(); in EmitInstruction()
671 if (PL == PICLevel::SmallPIC) { in EmitInstruction()
1258 if (M.getPICLevel() == PICLevel::SmallPIC) in EmitStartOfAsmFile()
1285 MF->getFunction().getParent()->getPICLevel() == PICLevel::SmallPIC)) in EmitFunctionEntryLabel()
DPPCISelDAGToDAG.cpp414 if (M->getPICLevel() == PICLevel::SmallPIC) { in getGlobalBaseReg()
4142 M->getPICLevel() == PICLevel::SmallPIC) in Select()
DPPCISelLowering.cpp2707 PICLevel::Level picLevel = M->getPICLevel(); in LowerGlobalTLSAddress()
2749 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddress()
2767 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOBackend.cpp139 M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_; in createTargetMachine()
/external/clang/include/clang/Basic/
DLangOptions.def160 COMPATIBLE_VALUE_LANGOPT(PICLevel , 2, 0, "__PIC__ level")
/external/clang/lib/Driver/
DTools.cpp3769 unsigned PICLevel; in AddAssemblerKPIC() local
3771 std::tie(RelocationModel, PICLevel, IsPIE) = in AddAssemblerKPIC()
4040 unsigned PICLevel; in ConstructJob() local
4042 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
4050 if (PICLevel > 0) { in ConstructJob()
4052 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob()
6529 unsigned PICLevel; in ConstructJob() local
6531 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
8980 unsigned PICLevel; in ConstructJob() local
8982 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp480 if (uint32_t PLevel = Context.getLangOpts().PICLevel) { in Release()
482 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
DCGObjCGNU.cpp2812 if (CGM.getLangOpts().PICLevel) { in ObjCIvarOffsetVariable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1988 PICLevel::Level picLevel = M->getPICLevel(); in makeAddress()
1991 if (picLevel == PICLevel::SmallPIC) { in makeAddress()