/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
D | Win64Exception.cpp | 59 bool hasLandingPads = !MMI->getLandingPads().empty(); in BeginFunction() 65 const Function *Per = MMI->getPersonalities()[MMI->getPersonalityIndex()]; in BeginFunction() 100 MMI->TidyLandingPads(); in EndFunction() 104 const Function *Per = MMI->getPersonalities()[MMI->getPersonalityIndex()]; in EndFunction() 105 const MCSymbol *Sym = TLOF.getCFIPersonalitySymbol(Per, Asm->Mang, MMI); in EndFunction()
|
D | DwarfCFIException.cpp | 67 const std::vector<const Function*> &Personalities = MMI->getPersonalities(); in EndModule() 91 bool hasLandingPads = !MMI->getLandingPads().empty(); in BeginFunction() 104 const Function *Per = MMI->getPersonalities()[MMI->getPersonalityIndex()]; in BeginFunction() 122 const MCSymbol *Sym = TLOF.getCFIPersonalitySymbol(Per, Asm->Mang, MMI); in BeginFunction() 149 MMI->TidyLandingPads(); in EndFunction()
|
D | ARMException.cpp | 69 MMI->getPersonalities()[MMI->getPersonalityIndex()]) { in EndFunction() 76 MMI->TidyLandingPads(); in EndFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DebugHandlerBase.cpp | 88 DebugHandlerBase::DebugHandlerBase(AsmPrinter *A) : Asm(A), MMI(Asm->MMI) {} in DebugHandlerBase() 158 static bool hasDebugInfo(const MachineModuleInfo *MMI, in hasDebugInfo() argument 160 if (!MMI->hasDebugInfo()) in hasDebugInfo() 175 if (!Asm || !hasDebugInfo(MMI, MF)) { in beginFunction() 238 if (!MMI->hasDebugInfo()) in beginInstruction() 257 PrevLabel = MMI->getContext().createTempSymbol(); in beginInstruction() 264 if (!MMI->hasDebugInfo()) in endInstruction() 289 PrevLabel = MMI->getContext().createTempSymbol(); in endInstruction() 296 if (hasDebugInfo(MMI, MF)) in endFunction()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 114 MachineModuleInfo &MMI = MF->getMMI(); in set() local 115 if (MMI.hasDebugInfo() && in set() 130 MMI.setVariableDbgInfo(DI->getVariable(), in set() 376 void llvm::AddCatchInfo(const CallInst &I, MachineModuleInfo *MMI, in AddCatchInfo() argument 383 MMI->addPersonality(MBB, cast<Function>(CE->getOperand(0))); in AddCatchInfo() 400 MMI->addCatchTypeInfo(MBB, TyInfo); in AddCatchInfo() 406 MMI->addCleanup(MBB); in AddCatchInfo() 412 MMI->addFilterTypeInfo(MBB, TyInfo); in AddCatchInfo() 424 MMI->addCatchTypeInfo(MBB, TyInfo); in AddCatchInfo() 429 MachineModuleInfo *MMI, FunctionLoweringInfo &FLI) { in CopyCatchInfo() argument [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfCFIException.cpp | 47 if (MMI->getLandingPads().empty()) in markFunctionEnd() 51 MMI->TidyLandingPads(); in markFunctionEnd() 84 for (const Function *Personality : MMI->getPersonalities()) { in endModule() 101 bool hasLandingPads = !MMI->getLandingPads().empty(); in beginFunction() 158 MMI->addPersonality(P); in beginFragment() 163 TLOF.getCFIPersonalitySymbol(P, *Asm->Mang, Asm->TM, MMI); in beginFragment()
|
D | DebugHandlerBase.cpp | 25 DebugHandlerBase::DebugHandlerBase(AsmPrinter *A) : Asm(A), MMI(Asm->MMI) {} in DebugHandlerBase() 171 if (!MMI->hasDebugInfo()) in beginInstruction() 190 PrevLabel = MMI->getContext().createTempSymbol(); in beginInstruction() 197 if (!MMI->hasDebugInfo()) in endInstruction() 220 PrevLabel = MMI->getContext().createTempSymbol(); in endInstruction()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreFrameLowering.cpp | 64 MachineModuleInfo *MMI, unsigned DRegNum) { in EmitDefCfaRegister() argument 65 unsigned CFIIndex = MMI->addFrameInst( in EmitDefCfaRegister() 74 MachineModuleInfo *MMI, int Offset) { in EmitDefCfaOffset() argument 76 MMI->addFrameInst(MCCFIInstruction::createDefCfaOffset(nullptr, -Offset)); in EmitDefCfaOffset() 83 const TargetInstrInfo &TII, MachineModuleInfo *MMI, in EmitCfiOffset() argument 85 unsigned CFIIndex = MMI->addFrameInst( in EmitCfiOffset() 99 const TargetInstrInfo &TII, MachineModuleInfo *MMI, in IfNeededExtSP() argument 110 EmitDefCfaOffset(MBB, MBBI, dl, TII, MMI, Adjusted*4); in IfNeededExtSP() 227 MachineModuleInfo *MMI = &MF.getMMI(); in emitPrologue() local 228 const MCRegisterInfo *MRI = MMI->getContext().getRegisterInfo(); in emitPrologue() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Target/WebAssembly/ |
D | WebAssemblyExceptionInfoTest.cpp | 45 const char *FuncName, MachineModuleInfo &MMI) { in parseMIR() argument 58 if (MIR->parseMachineFunctions(*M, MMI)) in parseMIR() 158 MachineModuleInfo MMI(TM.get()); in TEST() local 160 parseMIR(Context, MIR, *TM, MIRString, "test0", MMI); in TEST() 164 auto *MF = MMI.getMachineFunction(*F); in TEST() 333 MachineModuleInfo MMI(TM.get()); in TEST() local 335 parseMIR(Context, MIR, *TM, MIRString, "test1", MMI); in TEST() 339 auto *MF = MMI.getMachineFunction(*F); in TEST() 489 MachineModuleInfo MMI(TM.get()); in TEST() local 491 parseMIR(Context, MIR, *TM, MIRString, "test2", MMI); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMachineModuleInfo.cpp | 21 AMDGPUMachineModuleInfo::AMDGPUMachineModuleInfo(const MachineModuleInfo &MMI) in AMDGPUMachineModuleInfo() argument 22 : MachineModuleInfoELF(MMI) { in AMDGPUMachineModuleInfo() 23 LLVMContext &CTX = MMI.getModule()->getContext(); in AMDGPUMachineModuleInfo()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
D | JITDwarfEmitter.cpp | 34 JITDwarfEmitter::JITDwarfEmitter(JIT& theJit) : MMI(0), Jit(theJit) {} in JITDwarfEmitter() 42 assert(MMI && "MachineModuleInfo not registered!"); in EmitDwarfTable() 56 const std::vector<const Function *> Personalities = MMI->getPersonalities(); in EmitDwarfTable() 57 EHFramePtr = EmitCommonEHFrame(Personalities[MMI->getPersonalityIndex()]); in EmitDwarfTable() 59 Result = EmitEHFrame(Personalities[MMI->getPersonalityIndex()], EHFramePtr, in EmitDwarfTable() 200 assert(MMI && "MachineModuleInfo not registered!"); in EmitExceptionTable() 203 MMI->TidyLandingPads(JCE->getLabelLocations()); in EmitExceptionTable() 205 const std::vector<const GlobalVariable *> &TypeInfos = MMI->getTypeInfos(); in EmitExceptionTable() 206 const std::vector<unsigned> &FilterIds = MMI->getFilterIds(); in EmitExceptionTable() 207 const std::vector<LandingPadInfo> &PadInfos = MMI->getLandingPads(); in EmitExceptionTable() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetObjectFile.cpp | 34 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument 51 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference() 56 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol() 62 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
|
D | AArch64TargetObjectFile.h | 32 MachineModuleInfo *MMI, 37 MachineModuleInfo *MMI) const override; 41 MachineModuleInfo *MMI,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | LLVMTargetMachine.cpp | 101 raw_pwrite_stream &Out, MachineModuleInfo *MMI) { in addPassesToGenerateCode() argument 109 if (!MMI) in addPassesToGenerateCode() 110 MMI = new MachineModuleInfo(TM); in addPassesToGenerateCode() 111 PM.add(MMI); in addPassesToGenerateCode() 120 return &MMI->getContext(); in addPassesToGenerateCode() 202 MachineModuleInfo *MMI) { in addPassesToEmitFile() argument 206 this, PM, DisableVerify, WillCompleteCodeGenPipeline, Out, MMI); in addPassesToEmitFile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetObjectFile.cpp | 34 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument 50 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference() 55 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol() 61 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
|
D | AArch64TargetObjectFile.h | 32 MachineModuleInfo *MMI, 37 MachineModuleInfo *MMI) const override; 41 MachineModuleInfo *MMI,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 28 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference() argument 41 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference() 46 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol() 52 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel() argument
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | TargetLoweringObjectFileImpl.h | 61 MachineModuleInfo *MMI, unsigned Encoding, 67 MachineModuleInfo *MMI) const; 96 MachineModuleInfo *MMI, unsigned Encoding, 102 MachineModuleInfo *MMI) const;
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 24 MachineModuleInfo *MMI, unsigned Encoding, in getExprForDwarfGlobalReference() argument 38 getExprForDwarfGlobalReference(GV, Mang, MMI, Encoding, Streamer); in getExprForDwarfGlobalReference() 43 MachineModuleInfo *MMI) const { in getCFIPersonalitySymbol()
|
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
D | XCoreFrameLowering.cpp | 94 MachineModuleInfo *MMI = &MF.getMMI(); in emitPrologue() local 139 std::vector<MachineMove> &Moves = MMI->getFrameMoves(); in emitPrologue() 142 MCSymbol *FrameLabel = MMI->getContext().CreateTempSymbol(); in emitPrologue() 161 MCSymbol *SaveLRLabel = MMI->getContext().CreateTempSymbol(); in emitPrologue() 165 MMI->getFrameMoves().push_back(MachineMove(SaveLRLabel, CSDst, CSSrc)); in emitPrologue() 177 MCSymbol *SaveR10Label = MMI->getContext().CreateTempSymbol(); in emitPrologue() 181 MMI->getFrameMoves().push_back(MachineMove(SaveR10Label, CSDst, CSSrc)); in emitPrologue() 189 MCSymbol *FrameLabel = MMI->getContext().CreateTempSymbol(); in emitPrologue() 193 MMI->getFrameMoves().push_back(MachineMove(FrameLabel, SPDst, SPSrc)); in emitPrologue() 199 std::vector<MachineMove> &Moves = MMI->getFrameMoves(); in emitPrologue()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | MachineFunctionAnalysis.cpp | 39 MachineModuleInfo *MMI = getAnalysisIfAvailable<MachineModuleInfo>(); in doInitialization() local 40 assert(MMI && "MMI not around yet??"); in doInitialization() 41 MMI->setModule(&M); in doInitialization()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcTargetObjectFile.cpp | 20 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument 24 MachineModuleInfoELF &ELFMMI = MMI->getObjFileInfo<MachineModuleInfoELF>(); in getTTypeGlobalReference() 42 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
|
/external/llvm/lib/CodeGen/ |
D | MachineFunctionAnalysis.cpp | 40 MachineModuleInfo *MMI = getAnalysisIfAvailable<MachineModuleInfo>(); in doInitialization() local 41 assert(MMI && "MMI not around yet??"); in doInitialization() 42 MMI->setModule(&M); in doInitialization()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/ |
D | Assembler.cpp | 72 llvm::MachineModuleInfo *MMI) { in createVoidVoidMachineFunction() argument 80 return MMI->getOrCreateMachineFunction(*F); in createVoidVoidMachineFunction() 134 std::unique_ptr<llvm::MachineModuleInfo> MMI = in getFunctionReservedRegs() local 137 createVoidVoidMachineFunction(FunctionID, Module.get(), MMI.get()); in getFunctionReservedRegs() 151 std::unique_ptr<llvm::MachineModuleInfo> MMI = in assembleToStream() local 154 createVoidVoidMachineFunction(FunctionID, Module.get(), MMI.get()); in assembleToStream() 182 llvm::MCContext &MCContext = MMI->getContext(); in assembleToStream() 190 PM.add(MMI.release()); in assembleToStream()
|
/external/llvm/include/llvm/CodeGen/ |
D | TargetLoweringObjectFileImpl.h | 75 MachineModuleInfo *MMI, 81 MachineModuleInfo *MMI) const override; 122 MachineModuleInfo *MMI, 128 MachineModuleInfo *MMI) const override; 133 MachineModuleInfo *MMI,
|