Home
last modified time | relevance | path

Searched refs:IsPIC (Results 1 – 25 of 25) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceELFObjectWriter.h67 const std::string &SectionSuffix, bool IsPIC);
83 bool IsPIC);
166 const std::string &SectionSuffix, bool IsPIC);
DIceELFObjectWriter.cpp321 bool IsPIC) { in writeDataSection() argument
331 SectionSuffix, IsPIC); in writeDataSection()
348 bool IsPIC) { in writeDataOfType() argument
363 MangleSectionName(IsPIC ? ".data.rel.ro" : ".rodata", SectionSuffix); in writeDataOfType()
364 const Elf64_Xword ShFlags = IsPIC ? (SHF_ALLOC | SHF_WRITE) : SHF_ALLOC; in writeDataOfType()
580 FixupKind RelocationKind, bool IsPIC) { in writeJumpTable() argument
588 IsPIC ? ".data.rel.ro" : ".rodata", JT.getSectionName()); in writeJumpTable()
DIceTargetLoweringX86BaseImpl.h8331 const bool IsPIC = getFlags().getUseNonsfi();
8339 Writer->writeJumpTable(JT, RelocationKind, IsPIC);
8348 const char *Prefix = IsPIC ? ".data.rel.ro." : ".rodata.";
8368 const bool IsPIC = getFlags().getUseNonsfi();
8372 Writer->writeDataSection(Vars, Traits::FK_Abs, SectionSuffix, IsPIC);
DIceTargetLoweringMIPS32.cpp5715 const bool IsPIC = getFlags().getUseNonsfi(); in lowerGlobals() local
5719 Writer->writeDataSection(Vars, llvm::ELF::R_MIPS_32, SectionSuffix, IsPIC); in lowerGlobals()
DIceTargetLoweringARM32.cpp7206 const bool IsPIC = getFlags().getUseNonsfi(); in lowerGlobals() local
7211 IsPIC); in lowerGlobals()
/external/llvm/lib/Target/Mips/
DMipsLongBranch.cpp66 : MachineFunctionPass(ID), TM(tm), IsPIC(TM.isPositionIndependent()), in MipsLongBranch()
91 bool IsPIC; member in __anon4eae6bae0111::MipsLongBranch
189 (Br->isConditionalBranch() || (Br->isUnconditionalBranch() && IsPIC))) in initMBBInfo()
270 if (IsPIC) { in expandToLongBranch()
467 !IsPIC ? 2 : (ABI.IsN64() ? 10 : (!STI.isTargetNaCl() ? 9 : 10)); in runOnMachineFunction()
471 if (IsPIC && static_cast<const MipsTargetMachine &>(TM).getABI().IsO32() && in runOnMachineFunction()
519 if (IsPIC) { in runOnMachineFunction()
DMipsISelLowering.cpp2670 bool IsPIC = isPositionIndependent(); in LowerCall() local
2824 bool IsPICCall = (ABI.IsN64() || IsPIC); // true if calls are translated to in LowerCall()
2856 if (!ABI.IsN64() && !IsPIC) // !N64 && static in LowerCall()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInfo.td18 def IsPIC : Predicate<"TM.isPositionIndependent()">;
348 (GLOBAL_GET_I32 tglobaladdr:$addr)>, Requires<[IsPIC, HasAddr32]>;
351 (CONST_I32 tglobaladdr:$addr)>, Requires<[IsPIC, HasAddr32]>;
353 (CONST_I64 tglobaladdr:$addr)>, Requires<[IsPIC, HasAddr64]>;
361 (GLOBAL_GET_I32 texternalsym:$addr)>, Requires<[IsPIC, HasAddr32]>;
/external/llvm-project/llvm/lib/Target/Mips/
DMipsBranchExpansion.cpp171 bool IsPIC; member in __anon91dff8010111::MipsBranchExpansion
419 if (IsPIC) { in expandToLongBranch()
803 (Br->isUnconditionalBranch() && IsPIC))) { in handlePossibleLongBranch()
845 IsPIC = TM.isPositionIndependent(); in runOnMachineFunction()
850 if (IsPIC && ABI.IsO32() && in runOnMachineFunction()
DMipsISelLowering.cpp3158 bool IsPIC = isPositionIndependent(); in LowerCall() local
3377 if (!Subtarget.isABICalls() && !IsPIC) { in LowerCall()
3404 if (IsPIC) { in LowerCall()
3429 if (!IsPIC) // static in LowerCall()
3449 getOpndList(Ops, RegsToPass, IsPIC, GlobalOrExternal, InternalLinkage, in LowerCall()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsBranchExpansion.cpp171 bool IsPIC; member in __anona64a5cf50111::MipsBranchExpansion
410 if (IsPIC) { in expandToLongBranch()
794 (Br->isUnconditionalBranch() && IsPIC))) { in handlePossibleLongBranch()
836 IsPIC = TM.isPositionIndependent(); in runOnMachineFunction()
841 if (IsPIC && ABI.IsO32() && in runOnMachineFunction()
DMipsISelLowering.cpp3160 bool IsPIC = isPositionIndependent(); in LowerCall() local
3365 if (!Subtarget.isABICalls() && !IsPIC) { in LowerCall()
3392 if (IsPIC) { in LowerCall()
3417 if (!IsPIC) // static in LowerCall()
3437 getOpndList(Ops, RegsToPass, IsPIC, GlobalOrExternal, InternalLinkage, in LowerCall()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInfo.td18 def IsPIC : Predicate<"TM.isPositionIndependent()">;
323 (GLOBAL_GET_I32 tglobaladdr:$addr)>, Requires<[IsPIC]>;
326 (CONST_I32 tglobaladdr:$addr)>, Requires<[IsPIC]>;
329 (GLOBAL_GET_I32 texternalsym:$addr)>, Requires<[IsPIC]>;
/external/llvm-project/clang/lib/Driver/ToolChains/Arch/
DMips.cpp228 bool IsPIC = false; in getMIPSTargetFeatures() local
240 IsPIC = in getMIPSTargetFeatures()
257 if (ABICallsArg && !UseAbiCalls && IsPIC) { in getMIPSTargetFeatures()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp1229 bool IsPIC = HTM.isPositionIndependent(); in insertCSRSpillsInBlock() local
1237 SpillOpc = IsPIC ? Hexagon::SAVE_REGISTERS_CALL_V4STK_EXT_PIC in insertCSRSpillsInBlock()
1240 SpillOpc = IsPIC ? Hexagon::SAVE_REGISTERS_CALL_V4STK_PIC in insertCSRSpillsInBlock()
1244 SpillOpc = IsPIC ? Hexagon::SAVE_REGISTERS_CALL_V4_EXT_PIC in insertCSRSpillsInBlock()
1247 SpillOpc = IsPIC ? Hexagon::SAVE_REGISTERS_CALL_V4_PIC in insertCSRSpillsInBlock()
1294 bool IsPIC = HTM.isPositionIndependent(); in insertCSRRestoresInBlock() local
1305 RetOpc = IsPIC ? Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4_EXT_PIC in insertCSRRestoresInBlock()
1308 RetOpc = IsPIC ? Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4_PIC in insertCSRRestoresInBlock()
1318 RetOpc = IsPIC ? Hexagon::RESTORE_DEALLOC_RET_JMP_V4_EXT_PIC in insertCSRRestoresInBlock()
1321 RetOpc = IsPIC ? Hexagon::RESTORE_DEALLOC_RET_JMP_V4_PIC in insertCSRRestoresInBlock()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp1380 bool IsPIC = HTM.isPositionIndependent(); in insertCSRSpillsInBlock() local
1388 SpillOpc = IsPIC ? Hexagon::SAVE_REGISTERS_CALL_V4STK_EXT_PIC in insertCSRSpillsInBlock()
1391 SpillOpc = IsPIC ? Hexagon::SAVE_REGISTERS_CALL_V4STK_PIC in insertCSRSpillsInBlock()
1395 SpillOpc = IsPIC ? Hexagon::SAVE_REGISTERS_CALL_V4_EXT_PIC in insertCSRSpillsInBlock()
1398 SpillOpc = IsPIC ? Hexagon::SAVE_REGISTERS_CALL_V4_PIC in insertCSRSpillsInBlock()
1445 bool IsPIC = HTM.isPositionIndependent(); in insertCSRRestoresInBlock() local
1456 RetOpc = IsPIC ? Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4_EXT_PIC in insertCSRRestoresInBlock()
1459 RetOpc = IsPIC ? Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4_PIC in insertCSRRestoresInBlock()
1469 RetOpc = IsPIC ? Hexagon::RESTORE_DEALLOC_RET_JMP_V4_EXT_PIC in insertCSRRestoresInBlock()
1472 RetOpc = IsPIC ? Hexagon::RESTORE_DEALLOC_RET_JMP_V4_PIC in insertCSRRestoresInBlock()
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp1061 bool IsPIC = HTM.isPositionIndependent(); in insertCSRSpillsInBlock() local
1067 SpillOpc = IsPIC ? Hexagon::SAVE_REGISTERS_CALL_V4STK_PIC in insertCSRSpillsInBlock()
1070 SpillOpc = IsPIC ? Hexagon::SAVE_REGISTERS_CALL_V4_PIC in insertCSRSpillsInBlock()
1115 bool IsPIC = HTM.isPositionIndependent(); in insertCSRRestoresInBlock() local
1123 unsigned ROpc = IsPIC ? Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4_PIC in insertCSRRestoresInBlock()
1131 unsigned ROpc = IsPIC ? Hexagon::RESTORE_DEALLOC_RET_JMP_V4_PIC in insertCSRRestoresInBlock()
/external/llvm/lib/Target/ARM/
DARMExpandPseudoInsts.cpp1276 bool IsPIC = in ExpandMI() local
1289 if (IsPIC) { in ExpandMI()
1304 if (IsPIC) { in ExpandMI()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp2061 static void getLabelAccessInfo(bool IsPIC, const PPCSubtarget &Subtarget, in getLabelAccessInfo() argument
2068 if (IsPIC) { in getLabelAccessInfo()
2142 bool IsPIC = isPositionIndependent(); in LowerConstantPool() local
2143 getLabelAccessInfo(IsPIC, Subtarget, MOHiFlag, MOLoFlag); in LowerConstantPool()
2145 if (IsPIC && Subtarget.isSVR4ABI()) { in LowerConstantPool()
2155 return LowerLabelRef(CPIHi, CPILo, IsPIC, DAG); in LowerConstantPool()
2171 bool IsPIC = isPositionIndependent(); in LowerJumpTable() local
2172 getLabelAccessInfo(IsPIC, Subtarget, MOHiFlag, MOLoFlag); in LowerJumpTable()
2174 if (IsPIC && Subtarget.isSVR4ABI()) { in LowerJumpTable()
2182 return LowerLabelRef(JTIHi, JTILo, IsPIC, DAG); in LowerJumpTable()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMExpandPseudoInsts.cpp1480 bool IsPIC = in ExpandMI() local
1493 if (IsPIC) { in ExpandMI()
1512 if (IsPIC) { in ExpandMI()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp2679 static void getLabelAccessInfo(bool IsPIC, const PPCSubtarget &Subtarget, in getLabelAccessInfo() argument
2686 if (IsPIC) { in getLabelAccessInfo()
2762 bool IsPIC = isPositionIndependent(); in LowerConstantPool() local
2763 getLabelAccessInfo(IsPIC, Subtarget, MOHiFlag, MOLoFlag); in LowerConstantPool()
2765 if (IsPIC && Subtarget.isSVR4ABI()) { in LowerConstantPool()
2775 return LowerLabelRef(CPIHi, CPILo, IsPIC, DAG); in LowerConstantPool()
2840 bool IsPIC = isPositionIndependent(); in LowerJumpTable() local
2841 getLabelAccessInfo(IsPIC, Subtarget, MOHiFlag, MOLoFlag); in LowerJumpTable()
2843 if (IsPIC && Subtarget.isSVR4ABI()) { in LowerJumpTable()
2851 return LowerLabelRef(JTIHi, JTILo, IsPIC, DAG); in LowerJumpTable()
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp2893 static void getLabelAccessInfo(bool IsPIC, const PPCSubtarget &Subtarget, in getLabelAccessInfo() argument
2900 if (IsPIC) { in getLabelAccessInfo()
2971 bool IsPIC = isPositionIndependent(); in LowerConstantPool() local
2972 getLabelAccessInfo(IsPIC, Subtarget, MOHiFlag, MOLoFlag); in LowerConstantPool()
2974 if (IsPIC && Subtarget.isSVR4ABI()) { in LowerConstantPool()
2984 return LowerLabelRef(CPIHi, CPILo, IsPIC, DAG); in LowerConstantPool()
3059 bool IsPIC = isPositionIndependent(); in LowerJumpTable() local
3060 getLabelAccessInfo(IsPIC, Subtarget, MOHiFlag, MOLoFlag); in LowerJumpTable()
3062 if (IsPIC && Subtarget.isSVR4ABI()) { in LowerJumpTable()
3070 return LowerLabelRef(JTIHi, JTILo, IsPIC, DAG); in LowerJumpTable()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/
DARMExpandPseudoInsts.cpp2361 bool IsPIC = in ExpandMI() local
2374 if (IsPIC) { in ExpandMI()
2393 if (IsPIC) { in ExpandMI()
/external/llvm/docs/
DWritingAnLLVMBackend.rst1859 : (IsPIC ? X86::reloc_picrel_word : X86::reloc_absolute_word);
/external/llvm-project/llvm/docs/
DWritingAnLLVMBackend.rst1899 : (IsPIC ? X86::reloc_picrel_word : X86::reloc_absolute_word);