Home
last modified time | relevance | path

Searched refs:AlignOp (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp233 clang::Expr *AlignOp = TheCall->getArg(1); in SemaBuiltinAlignment() local
234 if (!IsValidIntegerType(AlignOp->getType())) { in SemaBuiltinAlignment()
235 S.Diag(AlignOp->getExprLoc(), diag::err_typecheck_expect_int) in SemaBuiltinAlignment()
236 << AlignOp->getType(); in SemaBuiltinAlignment()
242 if (!AlignOp->isValueDependent() && in SemaBuiltinAlignment()
243 AlignOp->EvaluateAsInt(AlignResult, S.Context, in SemaBuiltinAlignment()
249 S.Diag(AlignOp->getExprLoc(), diag::err_alignment_too_small) << 1; in SemaBuiltinAlignment()
253 S.Diag(AlignOp->getExprLoc(), diag::err_alignment_too_big) in SemaBuiltinAlignment()
258 S.Diag(AlignOp->getExprLoc(), diag::err_alignment_not_power_of_two); in SemaBuiltinAlignment()
262 S.Diag(AlignOp->getExprLoc(), diag::warn_alignment_builtin_useless) in SemaBuiltinAlignment()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DMachineVerifier.cpp1419 const MachineOperand &AlignOp = MI->getOperand(2); in verifyPreISelGenericInstruction() local
1431 if (!AlignOp.isImm()) { in verifyPreISelGenericInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineVerifier.cpp1443 const MachineOperand &AlignOp = MI->getOperand(2); in verifyPreISelGenericInstruction() local
1455 if (!AlignOp.isImm()) { in verifyPreISelGenericInstruction()