/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-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-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/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/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 __anon97d7a9d90111::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-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()
|
/external/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 198 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/ |
D | AnalysisBasedWarnings.cpp | 190 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/ |
D | CallEvent.cpp | 1038 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/ |
D | HexagonAsmParser.cpp | 919 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/ |
D | CGClass.cpp | 1257 } 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-7.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCCodeEmitter.cpp | 1038 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(E)) { in getHiLo16ImmOpValue() local 1039 const int64_t Value = MCE->getValue(); in getHiLo16ImmOpValue()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCCodeEmitter.cpp | 1027 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(E)) { in getHiLo16ImmOpValue() local 1028 const int64_t Value = MCE->getValue(); in getHiLo16ImmOpValue()
|
/external/llvm/tools/dsymutil/ |
D | DwarfLinker.cpp | 477 MCCodeEmitter *MCE; // Owned by MCStreamer member in llvm::dsymutil::__anon65f7dd5a0111::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/ |
D | Expr.cpp | 2436 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/ |
D | X86MCInstLower.cpp | 331 const MCExpr *MCE = Inst.getOperand(AddrOp).getExpr(); in SimplifyShortMoveForm() local 332 if (const MCSymbolRefExpr *SRE = dyn_cast<MCSymbolRefExpr>(MCE)) in SimplifyShortMoveForm()
|