LLVM 20.0.0git
Macros
PGOCtxProfReader.cpp File Reference
#include "llvm/ProfileData/PGOCtxProfReader.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Bitstream/BitCodeEnums.h"
#include "llvm/Bitstream/BitstreamReader.h"
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/ProfileData/PGOCtxProfWriter.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Error.h"

Go to the source code of this file.

Macros

#define EXPECT_OR_RET(LHS, RHS)
 
#define RET_ON_ERR(EXPR)
 

Macro Definition Documentation

◆ EXPECT_OR_RET

#define EXPECT_OR_RET (   LHS,
  RHS 
)
Value:
auto LHS = RHS; \
if (!LHS) \
return LHS.takeError();
const MachineOperand & RHS
Value * LHS

Definition at line 27 of file PGOCtxProfReader.cpp.

◆ RET_ON_ERR

#define RET_ON_ERR (   EXPR)
Value:
if (auto Err = (EXPR)) \
return Err;

Definition at line 32 of file PGOCtxProfReader.cpp.