/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86CodeEmitter.cpp | 48 CodeEmitter &MCE; member in __anon7df29c2d0111::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 …]
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCCodeEmitter.cpp | 32 JITCodeEmitter &MCE; member in __anon42a345840111::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 …]
|
D | PPC.h | 39 JITCodeEmitter &MCE);
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsCodeEmitter.cpp | 54 JITCodeEmitter &MCE; member in __anon627df2d30111::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/ |
D | AArch64AsmParser.cpp | 444 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | LLVMTargetMachine.cpp | 144 std::unique_ptr<MCCodeEmitter> MCE; in addAsmPrinter() local 146 MCE.reset(getTarget().createMCCodeEmitter(MII, MRI, Context)); in addAsmPrinter() 153 Options.MCOptions.MCUseDwarfDirectory, InstPrinter, std::move(MCE), in addAsmPrinter() 161 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(MII, MRI, Context); in addAsmPrinter() local 164 if (!MCE || !MAB) in addAsmPrinter() 175 std::unique_ptr<MCCodeEmitter>(MCE), STI, Options.MCOptions.MCRelaxAll, in addAsmPrinter() 242 MCCodeEmitter *MCE = in addPassesToEmitMC() local 246 if (!MCE || !MAB) in addPassesToEmitMC() 252 std::unique_ptr<MCCodeEmitter>(MCE), STI, Options.MCOptions.MCRelaxAll, in addPassesToEmitMC()
|
/external/llvm/lib/CodeGen/ |
D | LLVMTargetMachine.cpp | 217 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-7.0/llvm/lib/MC/ |
D | MCWinCOFFStreamer.cpp | 222 const MCExpr *MCE = MCSymbolRefExpr::create(Symbol, getContext()); in EmitCOFFSecRel32() local 225 MCE = MCBinaryExpr::createAdd( in EmitCOFFSecRel32() 226 MCE, MCConstantExpr::create(Offset, getContext()), getContext()); in EmitCOFFSecRel32() 228 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_SecRel_4); in EmitCOFFSecRel32() 240 const MCExpr *MCE = MCSymbolRefExpr::create( in EmitCOFFImgRel32() local 244 MCE = MCBinaryExpr::createAdd( in EmitCOFFImgRel32() 245 MCE, MCConstantExpr::create(Offset, getContext()), getContext()); in EmitCOFFImgRel32() 247 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_Data_4); in EmitCOFFImgRel32()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | LLVMTargetMachine.cpp | 151 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/ |
D | ARMCodeEmitter.cpp | 53 JITCodeEmitter &MCE; member in __anon6238cde10111::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 …]
|
D | ARMTargetMachine.h | 59 JITCodeEmitter &MCE);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 606 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm6() local 607 if (!MCE) in isUImm6() 609 int64_t Val = MCE->getValue(); in isUImm6() 628 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmScaled() local 629 if (!MCE) in isImmScaled() 642 int64_t Val = MCE->getValue(); in isImmScaled() 652 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEPattern() local 653 if (!MCE) in isSVEPattern() 655 int64_t Val = MCE->getValue(); in isSVEPattern() 700 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset() local [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
D | PTXTargetMachine.cpp | 153 MCCodeEmitter *MCE = 0; in addPassesToEmitFile() local 161 MCE, MAB, in addPassesToEmitFile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/ |
D | DwarfGenerator.cpp | 375 : MAB(nullptr), MCE(nullptr), MS(nullptr), StringPool(nullptr), in Generator() 440 MCE = TheTarget->createMCCodeEmitter(*MII, *MRI, *MC); in init() 441 if (!MCE) in init() 449 MAB->createObjectWriter(*Stream), std::unique_ptr<MCCodeEmitter>(MCE), in init()
|
D | DwarfGenerator.h | 245 MCCodeEmitter *MCE; // Owned by MCStreamer variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | DwarfStreamer.cpp | 82 MCE = TheTarget->createMCCodeEmitter(*MII, *MRI, *MC); in init() 83 if (!MCE) in init() 92 std::unique_ptr<MCCodeEmitter>(MCE), std::unique_ptr<MCAsmBackend>(MAB), in init() 99 MAB->createObjectWriter(OutFile), std::unique_ptr<MCCodeEmitter>(MCE), in init()
|
D | DwarfStreamer.h | 153 MCCodeEmitter *MCE; // Owned by MCStreamer variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 2982 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveValue() local 2984 uint64_t IntValue = MCE->getValue(); in parseDirectiveValue() 3469 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveLoc() local 3470 int Value = MCE->getValue(); in parseDirectiveLoc() 3486 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveLoc() local 3487 int Value = MCE->getValue(); in parseDirectiveLoc() 3706 if (const auto *MCE = dyn_cast<MCConstantExpr>(Value)) in parseDirectiveCVLoc() local 3707 IsStmt = MCE->getValue(); in parseDirectiveCVLoc() 4577 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveDCB() local 4579 uint64_t IntValue = MCE->getValue(); in parseDirectiveDCB() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 2667 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/llvm/tools/llvm-dwp/ |
D | llvm-dwp.cpp | 659 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/ |
D | TargetMachine.h | 316 JITCodeEmitter &MCE,
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwp/ |
D | llvm-dwp.cpp | 693 MCCodeEmitter *MCE = TheTarget->createMCCodeEmitter(*MII, *MRI, MC); in main() local 694 if (!MCE) in main() 706 MAB->createObjectWriter(OutFile), std::unique_ptr<MCCodeEmitter>(MCE), in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonConstPropagation.cpp | 184 MachineConstPropagator(MachineConstEvaluator &E) : MCE(E) { in MachineConstPropagator() 262 MachineConstEvaluator &MCE; member in __anon01dac9570111::MachineConstPropagator 660 bool Eval = MCE.evaluate(UseR, Cells.get(UseR.Reg), SrcC); in visitPHI() 662 << printReg(UseR.Reg, &MCE.TRI, UseR.SubReg) << SrcC in visitPHI() 678 bool Eval = MCE.evaluate(MI, Cells, Outputs); in visitNonBranch() 737 EvalOk = EvalOk && MCE.evaluate(MI, Cells, Targets, FallsThru); in visitBranchesFrom() 782 LLVM_DEBUG(dbgs() << "Visiting uses of " << printReg(Reg, &MCE.TRI) in visitUsesOf() 822 bool Eval = MCE.evaluate(MI, Cells, Targets, DoNext); in computeBlockSuccessors() 933 Cells.print(dbgs(), MCE.TRI); in propagate() 987 Changed |= MCE.rewrite(MI, Cells); in rewrite()
|
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/ |
D | AsmParser.cpp | 1730 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 213 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Imm.Value); in isBrImm() local 214 if (!MCE) in isBrImm() 216 int64_t Value = MCE->getValue(); in isBrImm()
|