/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/llvm-project/llvm/lib/CodeGen/ |
D | LLVMTargetMachine.cpp | 140 std::unique_ptr<MCCodeEmitter> MCE; in addAsmPrinter() local 142 MCE.reset(getTarget().createMCCodeEmitter(MII, MRI, Context)); in addAsmPrinter() 149 Options.MCOptions.MCUseDwarfDirectory, InstPrinter, std::move(MCE), in addAsmPrinter() 157 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(MII, MRI, Context); in addAsmPrinter() local 160 if (!MCE || !MAB) in addAsmPrinter() 168 std::unique_ptr<MCCodeEmitter>(MCE), STI, Options.MCOptions.MCRelaxAll, in addAsmPrinter() 240 MCCodeEmitter *MCE = in addPassesToEmitMC() local 244 if (!MCE || !MAB) in addPassesToEmitMC() 250 std::unique_ptr<MCCodeEmitter>(MCE), STI, Options.MCOptions.MCRelaxAll, in addPassesToEmitMC()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | LLVMTargetMachine.cpp | 137 std::unique_ptr<MCCodeEmitter> MCE; in addAsmPrinter() local 139 MCE.reset(getTarget().createMCCodeEmitter(MII, MRI, Context)); in addAsmPrinter() 146 Options.MCOptions.MCUseDwarfDirectory, InstPrinter, std::move(MCE), in addAsmPrinter() 154 MCCodeEmitter *MCE = getTarget().createMCCodeEmitter(MII, MRI, Context); in addAsmPrinter() local 157 if (!MCE || !MAB) in addAsmPrinter() 168 std::unique_ptr<MCCodeEmitter>(MCE), STI, Options.MCOptions.MCRelaxAll, in addAsmPrinter() 246 MCCodeEmitter *MCE = in addPassesToEmitMC() local 250 if (!MCE || !MAB) in addPassesToEmitMC() 256 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-10.0/llvm/lib/MC/ |
D | MCWinCOFFStreamer.cpp | 233 const MCExpr *MCE = MCSymbolRefExpr::create(Symbol, getContext()); in EmitCOFFSecRel32() local 236 MCE = MCBinaryExpr::createAdd( in EmitCOFFSecRel32() 237 MCE, MCConstantExpr::create(Offset, getContext()), getContext()); in EmitCOFFSecRel32() 239 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_SecRel_4); in EmitCOFFSecRel32() 251 const MCExpr *MCE = MCSymbolRefExpr::create( in EmitCOFFImgRel32() local 255 MCE = MCBinaryExpr::createAdd( in EmitCOFFImgRel32() 256 MCE, MCConstantExpr::create(Offset, getContext()), getContext()); in EmitCOFFImgRel32() 258 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_Data_4); in EmitCOFFImgRel32()
|
/external/llvm-project/llvm/lib/MC/ |
D | MCWinCOFFStreamer.cpp | 233 const MCExpr *MCE = MCSymbolRefExpr::create(Symbol, getContext()); in EmitCOFFSecRel32() local 236 MCE = MCBinaryExpr::createAdd( in EmitCOFFSecRel32() 237 MCE, MCConstantExpr::create(Offset, getContext()), getContext()); in EmitCOFFSecRel32() 239 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_SecRel_4); in EmitCOFFSecRel32() 251 const MCExpr *MCE = MCSymbolRefExpr::create( in EmitCOFFImgRel32() local 255 MCE = MCBinaryExpr::createAdd( in EmitCOFFImgRel32() 256 MCE, MCConstantExpr::create(Offset, getContext()), getContext()); in EmitCOFFImgRel32() 258 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_Data_4); in EmitCOFFImgRel32()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 634 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm6() local 635 if (!MCE) in isUImm6() 637 int64_t Val = MCE->getValue(); in isUImm6() 656 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmScaled() local 657 if (!MCE) in isImmScaled() 670 int64_t Val = MCE->getValue(); in isImmScaled() 680 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEPattern() local 681 if (!MCE) in isSVEPattern() 683 int64_t Val = MCE->getValue(); in isSVEPattern() 728 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset() local [all …]
|
/external/llvm-project/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 668 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm6() local 669 if (!MCE) in isUImm6() 671 int64_t Val = MCE->getValue(); in isUImm6() 690 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmScaled() local 691 if (!MCE) in isImmScaled() 704 int64_t Val = MCE->getValue(); in isImmScaled() 714 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEPattern() local 715 if (!MCE) in isSVEPattern() 717 int64_t Val = MCE->getValue(); in isSVEPattern() 762 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/ |
D | CodeEmitter.h | 42 const MCCodeEmitter &MCE; variable 60 : STI(ST), MAB(AB), MCE(CE), VecOS(Code), Sequence(S), in CodeEmitter()
|
/external/llvm-project/llvm/include/llvm/MCA/ |
D | CodeEmitter.h | 39 const MCCodeEmitter &MCE; variable 57 : STI(ST), MAB(AB), MCE(CE), VecOS(Code), Sequence(S), in CodeEmitter()
|
/external/llvm-project/llvm/lib/MCA/ |
D | CodeEmitter.cpp | 31 MCE.encodeInstruction(Relaxed, VecOS, Fixups, STI); in getOrCreateEncodingInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/ |
D | CodeEmitter.cpp | 31 MCE.encodeInstruction(Relaxed, VecOS, Fixups, STI); in getOrCreateEncodingInfo()
|
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
D | DwarfGenerator.cpp | 405 : MAB(nullptr), MCE(nullptr), MS(nullptr), TLOF(nullptr), in Generator() 471 MCE = TheTarget->createMCCodeEmitter(*MII, *MRI, *MC); in init() 472 if (!MCE) in init() 480 MAB->createObjectWriter(*Stream), std::unique_ptr<MCCodeEmitter>(MCE), in init()
|
D | DwarfGenerator.h | 250 MCCodeEmitter *MCE; // Owned by MCStreamer variable
|
/external/llvm-project/llvm/tools/llvm-mca/ |
D | llvm-mca.cpp | 446 std::unique_ptr<MCCodeEmitter> MCE( in main() local 448 assert(MCE && "Unable to create code emitter!"); in main() 471 mca::CodeEmitter CE(*STI, *MAB, *MCE, Insts); in main()
|
/external/llvm-project/llvm/lib/DWARFLinker/ |
D | DWARFStreamer.cpp | 69 MCE = TheTarget->createMCCodeEmitter(*MII, *MRI, *MC); in init() 70 if (!MCE) in init() 79 std::unique_ptr<MCCodeEmitter>(MCE), std::unique_ptr<MCAsmBackend>(MAB), in init() 86 MAB->createObjectWriter(OutFile), std::unique_ptr<MCCodeEmitter>(MCE), in init()
|
/external/llvm-project/llvm/lib/MC/MCParser/ |
D | MasmParser.cpp | 3421 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in emitIntValue() local 3423 int64_t IntValue = MCE->getValue(); in emitIntValue() 3425 return Error(MCE->getLoc(), "out of range literal value"); in emitIntValue() 3460 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value); in parseScalarInitializer() local 3461 if (!MCE) in parseScalarInitializer() 3464 const int64_t Repetitions = MCE->getValue(); in parseScalarInitializer() 3666 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value); in parseRealInstList() local 3667 if (!MCE) in parseRealInstList() 3670 const int64_t Repetitions = MCE->getValue(); in parseRealInstList() 4030 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value); in parseStructInstList() local [all …]
|
D | AsmParser.cpp | 3073 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveValue() local 3075 uint64_t IntValue = MCE->getValue(); in parseDirectiveValue() 3566 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveLoc() local 3567 int Value = MCE->getValue(); in parseDirectiveLoc() 3583 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveLoc() local 3584 int Value = MCE->getValue(); in parseDirectiveLoc() 3803 if (const auto *MCE = dyn_cast<MCConstantExpr>(Value)) in parseDirectiveCVLoc() local 3804 IsStmt = MCE->getValue(); in parseDirectiveCVLoc() 4784 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveDCB() local 4786 uint64_t IntValue = MCE->getValue(); in parseDirectiveDCB() [all …]
|
/external/llvm-project/llvm/include/llvm/DWARFLinker/ |
D | DWARFStreamer.h | 182 MCCodeEmitter *MCE; // Owned by MCStreamer variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 3047 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveValue() local 3049 uint64_t IntValue = MCE->getValue(); in parseDirectiveValue() 3539 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveLoc() local 3540 int Value = MCE->getValue(); in parseDirectiveLoc() 3556 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveLoc() local 3557 int Value = MCE->getValue(); in parseDirectiveLoc() 3776 if (const auto *MCE = dyn_cast<MCConstantExpr>(Value)) in parseDirectiveCVLoc() local 3777 IsStmt = MCE->getValue(); in parseDirectiveCVLoc() 4749 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { in parseDirectiveDCB() local 4751 uint64_t IntValue = MCE->getValue(); in parseDirectiveDCB() [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/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-project/llvm/tools/llvm-dwp/ |
D | llvm-dwp.cpp | 750 MCCodeEmitter *MCE = TheTarget->createMCCodeEmitter(*MII, *MRI, MC); in main() local 751 if (!MCE) in main() 770 MAB->createObjectWriter(*OS), std::unique_ptr<MCCodeEmitter>(MCE), *MSTI, in main()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonConstPropagation.cpp | 196 MachineConstPropagator(MachineConstEvaluator &E) : MCE(E) { in MachineConstPropagator() 274 MachineConstEvaluator &MCE; member in __anoned9efeff0111::MachineConstPropagator 672 bool Eval = MCE.evaluate(UseR, Cells.get(UseR.Reg), SrcC); in visitPHI() 674 << printReg(UseR.Reg, &MCE.TRI, UseR.SubReg) << SrcC in visitPHI() 690 bool Eval = MCE.evaluate(MI, Cells, Outputs); in visitNonBranch() 749 EvalOk = EvalOk && MCE.evaluate(MI, Cells, Targets, FallsThru); in visitBranchesFrom() 794 LLVM_DEBUG(dbgs() << "Visiting uses of " << printReg(Reg, &MCE.TRI) in visitUsesOf() 834 bool Eval = MCE.evaluate(MI, Cells, Targets, DoNext); in computeBlockSuccessors() 945 Cells.print(dbgs(), MCE.TRI); in propagate() 999 Changed |= MCE.rewrite(MI, Cells); in rewrite()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonConstPropagation.cpp | 197 MachineConstPropagator(MachineConstEvaluator &E) : MCE(E) { in MachineConstPropagator() 273 MachineConstEvaluator &MCE; member in __anon4e8e348b0111::MachineConstPropagator 671 bool Eval = MCE.evaluate(UseR, Cells.get(UseR.Reg), SrcC); in visitPHI() 673 << printReg(UseR.Reg, &MCE.TRI, UseR.SubReg) << SrcC in visitPHI() 689 bool Eval = MCE.evaluate(MI, Cells, Outputs); in visitNonBranch() 748 EvalOk = EvalOk && MCE.evaluate(MI, Cells, Targets, FallsThru); in visitBranchesFrom() 796 LLVM_DEBUG(dbgs() << "Visiting uses of " << printReg(Reg, &MCE.TRI) in visitUsesOf() 839 bool Eval = MCE.evaluate(MI, Cells, Targets, DoNext); in computeBlockSuccessors() 950 Cells.print(dbgs(), MCE.TRI); in propagate() 1004 Changed |= MCE.rewrite(MI, Cells); in rewrite()
|