/external/llvm/lib/Target/Mips/ |
D | MipsTargetObjectFile.cpp | 39 void MipsTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){ in Initialize() argument 40 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize() 41 InitializeELF(TM.Options.UseInitArray); in Initialize() 50 this->TM = &static_cast<const MipsTargetMachine &>(TM); in Initialize() 65 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM) const { in IsGlobalInSmallSection() 70 return IsGlobalInSmallSectionImpl(GV, TM); in IsGlobalInSmallSection() 72 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); in IsGlobalInSmallSection() 78 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() argument 80 return (IsGlobalInSmallSectionImpl(GV, TM) && in IsGlobalInSmallSection() 89 const TargetMachine &TM) const { in IsGlobalInSmallSectionImpl() [all …]
|
D | MipsTargetObjectFile.h | 20 const MipsTargetMachine *TM; variable 23 void Initialize(MCContext &Ctx, const TargetMachine &TM) override; 27 bool IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, 30 const TargetMachine &TM) const; 32 const TargetMachine &TM) const; 36 const TargetMachine &TM) const override; 40 const TargetMachine &TM) const;
|
D | MipsSubtarget.cpp | 64 const MipsTargetMachine &TM) in MipsSubtarget() argument 73 Os16(Mips_Os16), HasMSA(false), UseTCCInDIV(false), HasEVA(false), TM(TM), in MipsSubtarget() 76 MipsInstrInfo::create(initializeSubtargetDependencies(CPU, FS, TM))), in MipsSubtarget() 78 TLInfo(MipsTargetLowering::create(TM, *this)) { in MipsSubtarget() 117 if (NoABICalls && TM.isPositionIndependent()) in MipsSubtarget() 130 return TM.isPositionIndependent(); in isPositionIndependent() 148 const TargetMachine &TM) { in initializeSubtargetDependencies() argument 149 std::string CPUName = MIPS_MC::selectMipsCPU(TM.getTargetTriple(), CPU); in initializeSubtargetDependencies() 168 return TM.getRelocationModel(); in getRelocationModel() 174 const MipsABIInfo &MipsSubtarget::getABI() const { return TM.getABI(); } in getABI()
|
D | Mips.h | 26 ModulePass *createMipsOs16Pass(MipsTargetMachine &TM); 27 ModulePass *createMips16HardFloatPass(MipsTargetMachine &TM); 29 FunctionPass *createMipsModuleISelDagPass(MipsTargetMachine &TM); 30 FunctionPass *createMipsOptimizePICCallPass(MipsTargetMachine &TM); 31 FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM); 33 FunctionPass *createMipsLongBranchPass(MipsTargetMachine &TM);
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetMachine.cpp | 141 static void initReciprocals(AArch64TargetMachine& TM, AArch64Subtarget& ST) in initReciprocals() argument 152 TM.Options.Reciprocals.setDefaults("sqrtf", UseRsqrt, ExtraStepsF); in initReciprocals() 153 TM.Options.Reciprocals.setDefaults("sqrtd", UseRsqrt, ExtraStepsD); in initReciprocals() 154 TM.Options.Reciprocals.setDefaults("vec-sqrtf", UseRsqrt, ExtraStepsF); in initReciprocals() 155 TM.Options.Reciprocals.setDefaults("vec-sqrtd", UseRsqrt, ExtraStepsD); in initReciprocals() 157 TM.Options.Reciprocals.setDefaults("divf", false, ExtraStepsF); in initReciprocals() 158 TM.Options.Reciprocals.setDefaults("divd", false, ExtraStepsD); in initReciprocals() 159 TM.Options.Reciprocals.setDefaults("vec-divf", false, ExtraStepsF); in initReciprocals() 160 TM.Options.Reciprocals.setDefaults("vec-divd", false, ExtraStepsD); in initReciprocals() 264 AArch64PassConfig(AArch64TargetMachine *TM, PassManagerBase &PM) in AArch64PassConfig() argument [all …]
|
D | AArch64TargetObjectFile.cpp | 22 const TargetMachine &TM) { in Initialize() argument 23 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize() 24 InitializeELF(TM.Options.UseInitArray); in Initialize() 34 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument 41 const MCSymbol *Sym = TM.getSymbol(GV, Mang); in getTTypeGlobalReference() 51 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference() 55 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument 57 return TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiTargetObjectFile.cpp | 30 const TargetMachine &TM) { in Initialize() argument 31 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize() 32 InitializeELF(TM.Options.UseInitArray); in Initialize() 52 const GlobalValue *GV, const TargetMachine &TM) const { in isGlobalInSmallSection() 57 return isGlobalInSmallSectionImpl(GV, TM); in isGlobalInSmallSection() 59 return isGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); in isGlobalInSmallSection() 65 const TargetMachine &TM, in isGlobalInSmallSection() argument 67 return (isGlobalInSmallSectionImpl(GV, TM) && in isGlobalInSmallSection() 75 const GlobalValue *GV, const TargetMachine &TM) const { in isGlobalInSmallSectionImpl() 96 const TargetMachine &TM) const { in SelectSectionForGlobal() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsTargetObjectFile.cpp | 27 void MipsTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){ in Initialize() argument 28 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize() 50 const TargetMachine &TM) const { in IsGlobalInSmallSection() 54 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); in IsGlobalInSmallSection() 60 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() argument 64 const MipsSubtarget &Subtarget = TM.getSubtarget<MipsSubtarget>(); in IsGlobalInSmallSection() 83 return IsInSmallSection(TM.getTargetData()->getTypeAllocSize(Ty)); in IsGlobalInSmallSection() 90 Mangler *Mang, const TargetMachine &TM) const { in SelectSectionForGlobal() 95 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal() 97 if (Kind.isDataNoRel() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | TargetLoweringObjectFileImpl.h | 47 void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &TM, 58 const TargetMachine &TM) const override; 62 const TargetMachine &TM) const override; 65 const TargetMachine &TM) const override; 74 Mangler &Mang, const TargetMachine &TM, 80 const TargetMachine &TM, 91 const TargetMachine &TM) const override; 104 Mangler &Mang, const TargetMachine &TM) const override; 108 const TargetMachine &TM) const override; 112 const TargetMachine &TM) const override; [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetLoweringObjectFile.h | 60 virtual void Initialize(MCContext &ctx, const TargetMachine &TM); 62 virtual void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &TM, 68 Mangler &Mang, const TargetMachine &TM) const {} in emitModuleFlags() argument 80 const TargetMachine &TM); 86 Mangler &Mang, const TargetMachine &TM) const; 92 const TargetMachine &TM) const { in SectionForGlobal() argument 93 return SectionForGlobal(GV, getKindForGlobal(GV, TM), Mang, TM); in SectionForGlobal() 98 const TargetMachine &TM) const; 101 const TargetMachine &TM) const; 111 Mangler &Mang, const TargetMachine &TM) const = 0; [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
D | MBlazeTargetObjectFile.cpp | 23 Initialize(MCContext &Ctx, const TargetMachine &TM) { in Initialize() argument 24 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize() 46 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM) const { in IsGlobalInSmallSection() 50 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); in IsGlobalInSmallSection() 56 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() argument 73 return IsInSmallSection(TM.getTargetData()->getTypeAllocSize(Ty)); in IsGlobalInSmallSection() 78 Mangler *Mang, const TargetMachine &TM) const { in SelectSectionForGlobal() 83 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal() 85 if (Kind.isDataNoRel() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal() 89 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); in SelectSectionForGlobal()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 44 const TargetMachine &TM) { in Initialize() argument 46 InitMCObjectFileInfo(TM.getTargetTriple(), TM.isPositionIndependent(), in Initialize() 47 TM.getCodeModel(), *Ctx); in Initialize() 105 const TargetMachine &TM) const { in getSymbolWithGlobalValueBase() 110 TM.getNameWithPrefix(NameStr, GV, Mang); in getSymbolWithGlobalValueBase() 116 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument 118 return TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol() 133 const TargetMachine &TM){ in getKindForGlobal() argument 137 Reloc::Model ReloModel = TM.getRelocationModel(); in getKindForGlobal() 146 if (isSuitableForBSS(GVar, TM.Options.NoZerosInBSS)) in getKindForGlobal() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMSubtarget.cpp | 90 const ARMBaseTargetMachine &TM, bool IsLittle) in ARMSubtarget() argument 92 CPUString(CPU), IsLittle(IsLittle), TargetTriple(TT), Options(TM.Options), in ARMSubtarget() 93 TM(TM), FrameLowering(initializeFrameLowering(CPU, FS)), in ARMSubtarget() 101 TLInfo(TM, *this) {} in ARMSubtarget() 108 assert((!TM.getMCAsmInfo() || in initializeEnvironment() 109 (TM.getMCAsmInfo()->getExceptionHandlingType() == in initializeEnvironment() 251 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAPCS_ABI() 252 return TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_APCS; in isAPCS_ABI() 255 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAAPCS_ABI() 256 return TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_AAPCS || in isAAPCS_ABI() [all …]
|
D | ARMTargetObjectFile.cpp | 29 const TargetMachine &TM) { in Initialize() argument 30 bool isAAPCS_ABI = static_cast<const ARMTargetMachine &>(TM).TargetABI == in Initialize() 32 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize() 45 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument 47 if (TM.getMCAsmInfo()->getExceptionHandlingType() != ExceptionHandling::ARM) in getTTypeGlobalReference() 49 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference() 53 return MCSymbolRefExpr::create(TM.getSymbol(GV, Mang), in getTTypeGlobalReference()
|
/external/llvm/include/llvm/Transforms/IPO/ |
D | WholeProgramDevirt.h | 117 VirtualCallTarget(Function *Fn, const TypeMemberInfo *TM); 120 VirtualCallTarget(const TypeMemberInfo *TM, bool IsBigEndian) in VirtualCallTarget() 121 : Fn(nullptr), TM(TM), IsBigEndian(IsBigEndian) {} in VirtualCallTarget() 128 const TypeMemberInfo *TM; member 141 uint64_t minBeforeBytes() const { return TM->Offset; } in minBeforeBytes() 148 uint64_t minAfterBytes() const { return TM->Bits->ObjectSize - TM->Offset; } in minAfterBytes() 153 return minBeforeBytes() + TM->Bits->Before.Bytes.size(); in allocatedBeforeBytes() 159 return minAfterBytes() + TM->Bits->After.Bytes.size(); in allocatedAfterBytes() 165 TM->Bits->Before.setBit(Pos - 8 * minBeforeBytes(), RetVal); in setBeforeBit() 171 TM->Bits->After.setBit(Pos - 8 * minAfterBytes(), RetVal); in setAfterBit() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonTargetObjectFile.cpp | 89 const TargetMachine &TM) { in Initialize() argument 90 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize() 91 InitializeELF(TM.Options.UseInitArray); in Initialize() 106 const TargetMachine &TM) const { in SelectSectionForGlobal() 120 if (isGlobalInSmallSection(GV, TM)) in SelectSectionForGlobal() 121 return selectSmallSectionForGlobal(GV, Kind, Mang, TM); in SelectSectionForGlobal() 134 Mang, TM); in SelectSectionForGlobal() 140 const TargetMachine &TM) const { in getExplicitSectionGlobal() 163 if (isGlobalInSmallSection(GV, TM)) in getExplicitSectionGlobal() 164 return selectSmallSectionForGlobal(GV, Kind, Mang, TM); in getExplicitSectionGlobal() [all …]
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 53 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument 58 TM.getSymbol(GV, Mang)->getName()); in getCFIPersonalitySymbol() 60 return TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol() 88 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument 94 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", Mang, TM); in getTTypeGlobalReference() 100 MCSymbol *Sym = TM.getSymbol(GV, Mang); in getTTypeGlobalReference() 110 getTTypeGlobalReference(GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference() 209 const TargetMachine &TM) const { in getExplicitSectionGlobal() 248 const TargetMachine &TM, bool EmitUniqueSection, in selectELFSectionForGlobal() argument 279 bool UniqueSectionNames = TM.getUniqueSectionNames(); in selectELFSectionForGlobal() [all …]
|
/external/strace/linux/64/ |
D | syscallent.h | 1 [ 0] = { 2, TM, SEN(io_setup), "io_setup" }, 2 [ 1] = { 1, TM, SEN(io_destroy), "io_destroy" }, 197 [196] = { 3, TI|TM|SI, SEN(shmat), "shmat" }, 198 [197] = { 1, TI|TM|SI, SEN(shmdt), "shmdt" }, 215 [214] = { 1, TM|SI, SEN(brk), "brk" }, 216 [215] = { 2, TM|SI, SEN(munmap), "munmap" }, 217 [216] = { 5, TM|SI, SEN(mremap), "mremap" }, 223 [222] = { 6, TD|TM|SI, SEN(mmap), "mmap" }, 227 [226] = { 3, TM|SI, SEN(mprotect), "mprotect" }, 228 [227] = { 3, TM, SEN(msync), "msync" }, [all …]
|
/external/strace/linux/32/ |
D | syscallent.h | 4 [ 0] = { 2, TM, SEN(io_setup), "io_setup" }, 5 [ 1] = { 1, TM, SEN(io_destroy), "io_destroy" }, 204 [196] = { 3, TI|TM|SI, SEN(shmat), "shmat" }, 205 [197] = { 1, TI|TM|SI, SEN(shmdt), "shmdt" }, 222 [214] = { 1, TM|SI, SEN(brk), "brk" }, 223 [215] = { 2, TM|SI, SEN(munmap), "munmap" }, 224 [216] = { 5, TM|SI, SEN(mremap), "mremap" }, 230 [222] = { 6, TD|TM|SI, SEN(ARCH_mmap), "mmap2" }, 234 [226] = { 3, TM|SI, SEN(mprotect), "mprotect" }, 235 [227] = { 3, TM, SEN(msync), "msync" }, [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetLoweringObjectFile.h | 51 virtual void Initialize(MCContext &ctx, const TargetMachine &TM); 54 const TargetMachine &TM, 72 const TargetMachine &TM); 79 const TargetMachine &TM) const; 86 const TargetMachine &TM) const { in SectionForGlobal() argument 87 return SectionForGlobal(GV, getKindForGlobal(GV, TM), Mang, TM); in SectionForGlobal() 97 Mangler *Mang, const TargetMachine &TM) const = 0; 128 Mangler *Mang, const TargetMachine &TM) const;
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 35 const TargetMachine *TM; member in __anoncfa7b3760111::AMDGPUCodeGenPrepare 39 AMDGPUCodeGenPrepare(const TargetMachine *TM = nullptr) : in AMDGPUCodeGenPrepare() argument 41 TM(TM) { } in AMDGPUCodeGenPrepare() 63 if (!TM || skipFunction(F)) in runOnFunction() 80 FunctionPass *llvm::createAMDGPUCodeGenPreparePass(const TargetMachine *TM) { in createAMDGPUCodeGenPreparePass() argument 81 return new AMDGPUCodeGenPrepare(TM); in createAMDGPUCodeGenPreparePass()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerKernelArgs.cpp | 114 NVPTXLowerKernelArgs(const NVPTXTargetMachine *TM = nullptr) in NVPTXLowerKernelArgs() argument 115 : FunctionPass(ID), TM(TM) {} in NVPTXLowerKernelArgs() 121 const NVPTXTargetMachine *TM; member in __anon94a7ad4d0111::NVPTXLowerKernelArgs 200 if (TM && TM->getDrvInterface() == NVPTX::CUDA) { in runOnFunction() 224 else if (TM && TM->getDrvInterface() == NVPTX::CUDA) in runOnFunction() 232 llvm::createNVPTXLowerKernelArgsPass(const NVPTXTargetMachine *TM) { in createNVPTXLowerKernelArgsPass() argument 233 return new NVPTXLowerKernelArgs(TM); in createNVPTXLowerKernelArgsPass()
|
/external/strace/linux/mips/ |
D | syscallent-n32.h | 12 [6009] = { 6, TD|TM|SI, SEN(mmap), "mmap" }, 13 [6010] = { 3, TM|SI, SEN(mprotect), "mprotect" }, 14 [6011] = { 2, TM|SI, SEN(munmap), "munmap" }, 15 [6012] = { 1, TM|SI, SEN(brk), "brk" }, 27 [6024] = { 5, TM|SI, SEN(mremap), "mremap" }, 28 [6025] = { 3, TM, SEN(msync), "msync" }, 29 [6026] = { 3, TM, SEN(mincore), "mincore" }, 30 [6027] = { 3, TM, SEN(madvise), "madvise" }, 32 [6029] = { 3, TI|TM|SI, SEN(shmat), "shmat" }, 68 [6065] = { 1, TI|TM|SI, SEN(shmdt), "shmdt" }, [all …]
|
D | syscallent-n64.h | 12 [5009] = { 6, TD|TM|SI, SEN(mmap), "mmap" }, 13 [5010] = { 3, TM|SI, SEN(mprotect), "mprotect" }, 14 [5011] = { 2, TM|SI, SEN(munmap), "munmap" }, 15 [5012] = { 1, TM|SI, SEN(brk), "brk" }, 27 [5024] = { 5, TM|SI, SEN(mremap), "mremap" }, 28 [5025] = { 3, TM, SEN(msync), "msync" }, 29 [5026] = { 3, TM, SEN(mincore), "mincore" }, 30 [5027] = { 3, TM, SEN(madvise), "madvise" }, 32 [5029] = { 3, TI|TM|SI, SEN(shmat), "shmat" }, 68 [5065] = { 1, TI|TM|SI, SEN(shmdt), "shmdt" }, [all …]
|
/external/strace/linux/xtensa/ |
D | syscallent.h | 76 [ 80] = { 6, TD|TM|SI, SEN(mmap_pgoff), "mmap2" }, 77 [ 81] = { 2, TM|SI, SEN(munmap), "munmap" }, 78 [ 82] = { 3, TM|SI, SEN(mprotect), "mprotect" }, 79 [ 83] = { 1, TM|SI, SEN(brk), "brk" }, 80 [ 84] = { 2, TM, SEN(mlock), "mlock" }, 81 [ 85] = { 2, TM, SEN(munlock), "munlock" }, 82 [ 86] = { 1, TM, SEN(mlockall), "mlockall" }, 83 [ 87] = { 0, TM, SEN(munlockall), "munlockall" }, 84 [ 88] = { 5, TM|SI, SEN(mremap), "mremap" }, 85 [ 89] = { 3, TM, SEN(msync), "msync" }, [all …]
|