Go to the source code of this file.
|
#define | Assert(C, M) do { if (!(C)) { CheckFailed(M); return; } } while (0) |
|
#define | Assert1(C, M, V1) do { if (!(C)) { CheckFailed(M, V1); return; } } while (0) |
|
#define | Assert2(C, M, V1, V2) do { if (!(C)) { CheckFailed(M, V1, V2); return; } } while (0) |
|
#define | Assert3(C, M, V1, V2, V3) do { if (!(C)) { CheckFailed(M, V1, V2, V3); return; } } while (0) |
|
#define | Assert4(C, M, V1, V2, V3, V4) do { if (!(C)) { CheckFailed(M, V1, V2, V3, V4); return; } } while (0) |
|
#define Assert |
( |
|
C, |
|
|
|
M |
|
) |
| do { if (!(C)) { CheckFailed(M); return; } } while (0) |
#define Assert1 |
( |
|
C, |
|
|
|
M, |
|
|
|
V1 |
|
) |
| do { if (!(C)) { CheckFailed(M, V1); return; } } while (0) |
#define Assert2 |
( |
|
C, |
|
|
|
M, |
|
|
|
V1, |
|
|
|
V2 |
|
) |
| do { if (!(C)) { CheckFailed(M, V1, V2); return; } } while (0) |
#define Assert3 |
( |
|
C, |
|
|
|
M, |
|
|
|
V1, |
|
|
|
V2, |
|
|
|
V3 |
|
) |
| do { if (!(C)) { CheckFailed(M, V1, V2, V3); return; } } while (0) |
#define Assert4 |
( |
|
C, |
|
|
|
M, |
|
|
|
V1, |
|
|
|
V2, |
|
|
|
V3, |
|
|
|
V4 |
|
) |
| do { if (!(C)) { CheckFailed(M, V1, V2, V3, V4); return; } } while (0) |
INITIALIZE_PASS_BEGIN |
( |
Lint |
, |
|
|
"lint" |
, |
|
|
"Statically lint-checks LLVM IR" |
, |
|
|
false |
, |
|
|
true |
|
|
) |
| |
Definition at line 507 of file Lint.cpp.
References llvm::CallingConv::C, llvm::ComputeMaskedBits(), llvm::dyn_cast(), llvm::Constant::getAggregateElement(), llvm::SequentialType::getElementType(), llvm::Type::getIntegerBitWidth(), llvm::VectorType::getNumElements(), llvm::Value::getType(), I, llvm::Constant::isZeroValue(), and N.
Referenced by buildGEP(), llvm::InstCombiner::FoldCmpLoadFromIndexedGlobal(), llvm::ConstantStruct::get(), llvm::ConstantVector::get(), and llvm::PPCTargetLowering::PerformDAGCombine().
Statically lint checks LLVM false |
Statically lint checks LLVM IR |