LLVM: lib/ProfileData/PGOCtxProfReader.cpp File Reference (original) (raw)
PGOCtxProfReader.cpp File Reference
#include "[llvm/ProfileData/PGOCtxProfReader.h](PGOCtxProfReader%5F8h%5Fsource.html)"#include "[llvm/Bitstream/BitCodeEnums.h](BitCodeEnums%5F8h%5Fsource.html)"#include "[llvm/Bitstream/BitstreamReader.h](BitstreamReader%5F8h%5Fsource.html)"#include "[llvm/ProfileData/InstrProf.h](InstrProf%5F8h%5Fsource.html)"#include "[llvm/ProfileData/PGOCtxProfWriter.h](PGOCtxProfWriter%5F8h%5Fsource.html)"#include "[llvm/Support/Error.h](llvm%5F2Support%5F2Error%5F8h%5Fsource.html)"#include "[llvm/Support/ErrorHandling.h](llvm%5F2Support%5F2ErrorHandling%5F8h%5Fsource.html)"#include "[llvm/Support/YAMLTraits.h](YAMLTraits%5F8h%5Fsource.html)"#include <utility>
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();
Definition at line 28 of file PGOCtxProfReader.cpp.
◆ RET_ON_ERR
| #define RET_ON_ERR | ( | EXPR | ) |
|---|
Value:
if (auto Err = (EXPR)) \
return Err;
Definition at line 33 of file PGOCtxProfReader.cpp.
Referenced by llvm::PGOCtxProfileReader::loadProfiles().