Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86CodeEmitter.cpp48 CodeEmitter &MCE; member in __anon88f8e9040111::Emitter
57 MCE(mce), PICBaseOffset(0), Is64BitMode(false), in Emitter()
62 MCE(mce), PICBaseOffset(0), Is64BitMode(is64), in Emitter()
117 MCE.setModuleInfo(MMI); in runOnMachineFunction()
127 MCE.startFunction(MF); in runOnMachineFunction()
130 MCE.StartMachineBasicBlock(MBB); in runOnMachineFunction()
141 } while (MCE.finishFunction(MF)); in runOnMachineFunction()
251 MCE.addRelocation(MachineRelocation::getBB(MCE.getCurrentPCOffset(), in emitPCRelativeBlockAddress()
253 MCE.emitWordLE(0); in emitPCRelativeBlockAddress()
271 ? MachineRelocation::getIndirectSymbol(MCE.getCurrentPCOffset(), Reloc, in emitGlobalAddress()
[all …]
DX86MCInstLower.cpp281 const MCExpr *MCE = Inst.getOperand(AddrOp).getExpr(); in SimplifyShortMoveForm() local
282 if (const MCSymbolRefExpr *SRE = dyn_cast<MCSymbolRefExpr>(MCE)) in SimplifyShortMoveForm()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCCodeEmitter.cpp32 JITCodeEmitter &MCE; member in __anoncf2225db0111::PPCCodeEmitter
48 : MachineFunctionPass(ID), TM(tm), MCE(mce) {} in PPCCodeEmitter()
99 MCE.setModuleInfo(MMI); in runOnMachineFunction()
102 MCE.startFunction(MF); in runOnMachineFunction()
105 } while (MCE.finishFunction(MF)); in runOnMachineFunction()
111 MCE.StartMachineBasicBlock(&MBB); in emitBasicBlock()
115 MCE.processDebugLoc(MI.getDebugLoc(), true); in emitBasicBlock()
118 MCE.emitWordBE(getBinaryCodeForInstr(MI)); in emitBasicBlock()
122 MCE.emitLabel(MI.getOperand(0).getMCSymbol()); in emitBasicBlock()
130 MovePCtoLROffset = (void*)MCE.getCurrentPCValue(); in emitBasicBlock()
[all …]
DPPC.h39 JITCodeEmitter &MCE);
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsCodeEmitter.cpp54 JITCodeEmitter &MCE; member in __anon484ad16a0111::MipsCodeEmitter
70 TD(tm.getTargetData()), TM(tm), MCE(mce), MCPEs(0), MJTEs(0), in MipsCodeEmitter()
125 MCE.setModuleInfo(&getAnalysis<MachineModuleInfo> ()); in runOnMachineFunction()
130 MCE.startFunction(MF); in runOnMachineFunction()
134 MCE.StartMachineBasicBlock(MBB); in runOnMachineFunction()
139 } while (MCE.finishFunction(MF)); in runOnMachineFunction()
206 MCE.addRelocation(MachineRelocation::getGV(MCE.getCurrentPCOffset(), Reloc, in emitGlobalAddress()
212 MCE.addRelocation(MachineRelocation::getExtSym(MCE.getCurrentPCOffset(), in emitExternalSymbolAddress()
217 MCE.addRelocation(MachineRelocation::getConstPool(MCE.getCurrentPCOffset(), in emitConstPoolAddress()
223 MCE.addRelocation(MachineRelocation::getJumpTable(MCE.getCurrentPCOffset(), in emitJumpTableAddress()
[all …]
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp444 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm9() local
445 if (!MCE) in isSImm9()
447 int64_t Val = MCE->getValue(); in isSImm9()
453 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm7s4() local
454 if (!MCE) in isSImm7s4()
456 int64_t Val = MCE->getValue(); in isSImm7s4()
462 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm7s8() local
463 if (!MCE) in isSImm7s8()
465 int64_t Val = MCE->getValue(); in isSImm7s8()
471 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm7s16() local
[all …]
/external/llvm/lib/CodeGen/
DLLVMTargetMachine.cpp217 MCCodeEmitter *MCE = nullptr; in addPassesToEmitFile() local
219 MCE = getTarget().createMCCodeEmitter(MII, MRI, *Context); in addPassesToEmitFile()
226 Options.MCOptions.MCUseDwarfDirectory, InstPrinter, MCE, MAB, in addPassesToEmitFile()
234 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(MII, MRI, *Context); in addPassesToEmitFile() local
237 if (!MCE || !MAB) in addPassesToEmitFile()
245 T, *Context, *MAB, Out, MCE, STI, Options.MCOptions.MCRelaxAll, in addPassesToEmitFile()
288 MCCodeEmitter *MCE = in addPassesToEmitMC() local
292 if (!MCE || !MAB) in addPassesToEmitMC()
298 T, *Ctx, *MAB, Out, MCE, STI, Options.MCOptions.MCRelaxAll, in addPassesToEmitMC()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLLVMTargetMachine.cpp151 MCCodeEmitter *MCE = 0; in addPassesToEmitFile() local
155 MCE = getTarget().createMCCodeEmitter(*getInstrInfo(), STI, *Context); in addPassesToEmitFile()
164 MCE, MAB, in addPassesToEmitFile()
172 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(*getInstrInfo(), STI, in addPassesToEmitFile() local
175 if (MCE == 0 || MAB == 0) in addPassesToEmitFile()
180 MCE, hasMCRelaxAll(), in addPassesToEmitFile()
250 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(*getInstrInfo(),STI, *Ctx); in addPassesToEmitMC() local
252 if (MCE == 0 || MAB == 0) in addPassesToEmitMC()
257 *MAB, Out, MCE, in addPassesToEmitMC()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMCodeEmitter.cpp53 JITCodeEmitter &MCE; member in __anon6d3f1ab80111::ARMCodeEmitter
71 MCE(mce), MCPEs(0), MJTEs(0), in ARMCodeEmitter()
380 MCE.setModuleInfo(MMI); in runOnMachineFunction()
385 MCE.startFunction(MF); in runOnMachineFunction()
388 MCE.StartMachineBasicBlock(MBB); in runOnMachineFunction()
393 } while (MCE.finishFunction(MF)); in runOnMachineFunction()
470 ? MachineRelocation::getIndirectSymbol(MCE.getCurrentPCOffset(), Reloc, in emitGlobalAddress()
473 : MachineRelocation::getGV(MCE.getCurrentPCOffset(), Reloc, in emitGlobalAddress()
476 MCE.addRelocation(MR); in emitGlobalAddress()
484 MCE.addRelocation(MachineRelocation::getExtSym(MCE.getCurrentPCOffset(), in emitExternalSymbolAddress()
[all …]
DARMTargetMachine.h59 JITCodeEmitter &MCE);
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXTargetMachine.cpp153 MCCodeEmitter *MCE = 0; in addPassesToEmitFile() local
161 MCE, MAB, in addPassesToEmitFile()
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp659 MCCodeEmitter *MCE = TheTarget->createMCCodeEmitter(*MII, *MRI, MC); in main() local
660 if (!MCE) in main()
671 TheTriple, MC, *MAB, OutFile, MCE, *MSTI, MCOptions.MCRelaxAll, in main()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetMachine.h316 JITCodeEmitter &MCE,
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp2667 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveValue() local
2669 uint64_t IntValue = MCE->getValue(); in parseDirectiveValue()
3144 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveLoc() local
3145 int Value = MCE->getValue(); in parseDirectiveLoc()
3161 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveLoc() local
3162 int Value = MCE->getValue(); in parseDirectiveLoc()
3281 if (const auto *MCE = dyn_cast<MCConstantExpr>(Value)) in parseDirectiveCVLoc() local
3282 IsStmt = MCE->getValue(); in parseDirectiveCVLoc()
5005 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value); in parseDirectiveMSEmit() local
5006 if (!MCE) in parseDirectiveMSEmit()
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DAsmParser.cpp1730 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in ParseDirectiveValue() local
1732 uint64_t IntValue = MCE->getValue(); in ParseDirectiveValue()
2421 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in ParseDirectiveLoc() local
2422 int Value = MCE->getValue(); in ParseDirectiveLoc()
2440 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in ParseDirectiveLoc() local
2441 int Value = MCE->getValue(); in ParseDirectiveLoc()
/external/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp198 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Imm.Value); in isBrImm() local
199 if (!MCE) in isBrImm()
201 int64_t Value = MCE->getValue(); in isBrImm()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp190 const CXXMemberCallExpr *MCE = dyn_cast<CXXMemberCallExpr>(CE); in hasRecursiveCallInPath() local
191 if (!MCE || isa<CXXThisExpr>(MCE->getImplicitObjectArgument()) || in hasRecursiveCallInPath()
192 !MCE->getMethodDecl()->isVirtual()) in hasRecursiveCallInPath()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp1038 if (const CXXMemberCallExpr *MCE = dyn_cast<CXXMemberCallExpr>(CE)) in getSimpleCall() local
1039 return create<CXXMemberCall>(MCE, State, LCtx); in getSimpleCall()
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp919 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value); in ParseDirectiveFalign() local
920 uint64_t IntValue = MCE->getValue(); in ParseDirectiveFalign()
947 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in ParseDirectiveValue() local
949 uint64_t IntValue = MCE->getValue(); in ParseDirectiveValue()
/external/clang/lib/CodeGen/
DCGClass.cpp1257 } else if (CXXMemberCallExpr *MCE = dyn_cast<CXXMemberCallExpr>(S)) { in getMemcpyableField() local
1258 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(MCE->getCalleeDecl()); in getMemcpyableField()
1261 MemberExpr *IOA = dyn_cast<MemberExpr>(MCE->getImplicitObjectArgument()); in getMemcpyableField()
1267 MemberExpr *Arg0 = dyn_cast<MemberExpr>(MCE->getArg(0)); in getMemcpyableField()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp1833 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseRegister()
1834 if (!MCE) { in tryParseRegister()
1847 Operands.push_back(ARMOperand::CreateVectorIndex(MCE->getValue(), in tryParseRegister()
1982 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseRegisterWithWriteBack() local
1983 if (!MCE) { in tryParseRegisterWithWriteBack()
1996 Operands.push_back(ARMOperand::CreateVectorIndex(MCE->getValue(), in tryParseRegisterWithWriteBack()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCCodeEmitter.cpp1027 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(E)) { in getHiLo16ImmOpValue() local
1028 const int64_t Value = MCE->getValue(); in getHiLo16ImmOpValue()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp477 MCCodeEmitter *MCE; // Owned by MCStreamer member in llvm::dsymutil::__anon5c7ea04f0111::DwarfStreamer
612 MCE = TheTarget->createMCCodeEmitter(*MII, *MRI, *MC); in init()
613 if (!MCE) in init()
625 TheTriple, *MC, *MAB, *OutFile, MCE, *MSTI, MCOptions.MCRelaxAll, in init()
/external/clang/lib/AST/
DExpr.cpp2436 if (CXXMemberCallExpr *MCE = dyn_cast<CXXMemberCallExpr>(this)) { in IgnoreConversionOperator() local
2437 if (MCE->getMethodDecl() && isa<CXXConversionDecl>(MCE->getMethodDecl())) in IgnoreConversionOperator()
2438 return MCE->getImplicitObjectArgument(); in IgnoreConversionOperator()
/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp331 const MCExpr *MCE = Inst.getOperand(AddrOp).getExpr(); in SimplifyShortMoveForm() local
332 if (const MCSymbolRefExpr *SRE = dyn_cast<MCSymbolRefExpr>(MCE)) in SimplifyShortMoveForm()

12