Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DModule.cpp463 PICLevel::Level Module::getPICLevel() const { in getPICLevel()
467 return PICLevel::Default; in getPICLevel()
469 return static_cast<PICLevel::Level>( in getPICLevel()
473 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
/external/llvm/include/llvm/Support/
DCodeGen.h33 namespace PICLevel {
/external/llvm/include/llvm/IR/
DModule.h625 PICLevel::Level getPICLevel() const;
628 void setPICLevel(PICLevel::Level PL);
/external/clang/lib/Frontend/
DInitPreprocessor.cpp840 if (unsigned PICLevel = LangOpts.PICLevel) { in InitializePredefinedMacros() local
841 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros()
842 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros()
DCompilerInvocation.cpp1692 Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in ParseLangArgs()
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp496 PICLevel::Level PL = M->getPICLevel(); in EmitInstruction()
600 if (PL == PICLevel::Small) { in EmitInstruction()
1044 if (M.getPICLevel() == PICLevel::Small) in EmitStartOfAsmFile()
1071 MF->getFunction()->getParent()->getPICLevel() == PICLevel::Small)) in EmitFunctionEntryLabel()
DPPCISelDAGToDAG.cpp327 if (M->getPICLevel() == PICLevel::Small) { in getGlobalBaseReg()
DPPCISelLowering.cpp2122 PICLevel::Level picLevel = M->getPICLevel(); in LowerGlobalTLSAddress()
2163 if (picLevel == PICLevel::Small) in LowerGlobalTLSAddress()
2181 if (picLevel == PICLevel::Small) in LowerGlobalTLSAddress()
/external/clang/include/clang/Basic/
DLangOptions.def143 VALUE_LANGOPT(PICLevel , 2, 0, "__PIC__ level")
/external/clang/lib/CodeGen/
DCodeGenModule.cpp451 if (uint32_t PLevel = Context.getLangOpts().PICLevel) { in Release()
452 llvm::PICLevel::Level PL = llvm::PICLevel::Default; in Release()
455 case 1: PL = llvm::PICLevel::Small; break; in Release()
456 case 2: PL = llvm::PICLevel::Large; break; in Release()
DCGObjCGNU.cpp2803 if (CGM.getLangOpts().PICLevel || CGM.getLangOpts().PIELevel) { in ObjCIvarOffsetVariable()
/external/clang/lib/Driver/
DTools.cpp3415 unsigned PICLevel; in AddAssemblerKPIC() local
3417 std::tie(RelocationModel, PICLevel, IsPIE) = in AddAssemblerKPIC()
3654 unsigned PICLevel; in ConstructJob() local
3656 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
3664 if (PICLevel > 0) { in ConstructJob()
3666 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob()
3669 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob()
5979 unsigned PICLevel; in ConstructJob() local
5981 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
8327 unsigned PICLevel; in ConstructJob() local
[all …]