• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/

Lines Matching defs:Action

121   bool AddEmitPasses(legacy::PassManager &CodeGenPasses, BackendAction Action,
152 void EmitAssembly(BackendAction Action,
155 void EmitAssemblyWithNewPassManager(BackendAction Action,
405 static CodeGenFileType getCodeGenFileType(BackendAction Action) {
406 if (Action == Backend_EmitObj)
408 else if (Action == Backend_EmitMCNull)
411 assert(Action == Backend_EmitAssembly && "Invalid action!");
775 BackendAction Action,
786 CodeGenFileType CGFT = getCodeGenFileType(Action);
803 void EmitAssemblyHelper::EmitAssembly(BackendAction Action,
809 bool UsesCodeGen = (Action != Backend_EmitNothing &&
810 Action != Backend_EmitBC &&
811 Action != Backend_EmitLL);
835 switch (Action) {
881 if (!AddEmitPasses(CodeGenPasses, Action, *OS,
997 BackendAction Action, std::unique_ptr<raw_pwrite_stream> OS) {
1001 bool RequiresCodeGen = (Action != Backend_EmitNothing &&
1002 Action != Backend_EmitBC &&
1003 Action != Backend_EmitLL);
1044 assert(PGOOpt->Action != PGOOptions::IRInstr &&
1045 PGOOpt->Action != PGOOptions::SampleUse &&
1131 if (PGOOpt && (PGOOpt->Action == PGOOptions::IRInstr ||
1132 PGOOpt->Action == PGOOptions::IRUse))
1135 /* RunProfileGen */ (PGOOpt->Action == PGOOptions::IRInstr),
1261 switch (Action) {
1310 if (!AddEmitPasses(CodeGenPasses, Action, *OS,
1369 BackendAction Action) {
1466 switch (Action) {
1485 Conf.CGFileType = getCodeGenFileType(Action);
1503 BackendAction Action,
1530 CGOpts.ProfileRemappingFile, Action);
1548 AsmHelper.EmitAssemblyWithNewPassManager(Action, std::move(OS));
1550 AsmHelper.EmitAssembly(Action, std::move(OS));