Home
last modified time | relevance | path

Searched refs:InputExpr (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/Sema/
DSemaStmtAsm.cpp267 Expr *InputExpr = Exprs[i]; in ActOnGCCAsmStmt() local
270 if (CheckNakedParmReference(InputExpr, *this)) in ActOnGCCAsmStmt()
275 checkExprMemoryConstraintCompat(*this, InputExpr, Info, true)) in ActOnGCCAsmStmt()
280 if (CheckAsmLValue(InputExpr, *this)) in ActOnGCCAsmStmt()
281 return StmtError(Diag(InputExpr->getLocStart(), in ActOnGCCAsmStmt()
284 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
286 if (!InputExpr->isValueDependent()) { in ActOnGCCAsmStmt()
288 if (!InputExpr->EvaluateAsInt(Result, Context)) in ActOnGCCAsmStmt()
290 Diag(InputExpr->getLocStart(), diag::err_asm_immediate_expected) in ActOnGCCAsmStmt()
291 << Info.getConstraintStr() << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
[all …]
DTreeTransform.h3776 Expr *InputExpr = Input.getSourceExpression(); in TransformTemplateArgument() local
3777 if (!InputExpr) InputExpr = Input.getArgument().getAsExpr(); in TransformTemplateArgument()
3779 ExprResult E = getDerived().TransformExpr(InputExpr); in TransformTemplateArgument()
6556 Expr *InputExpr = S->getInputExpr(I); in TransformGCCAsmStmt() local
6557 ExprResult Result = getDerived().TransformExpr(InputExpr); in TransformGCCAsmStmt()
6561 ExprsChanged |= Result.get() != InputExpr; in TransformGCCAsmStmt()
DSemaExpr.cpp11304 Expr *InputExpr) { in CreateBuiltinUnaryOp() argument
11305 ExprResult Input = InputExpr; in CreateBuiltinUnaryOp()
11310 QualType Ty = InputExpr->getType(); in CreateBuiltinUnaryOp()
11318 << InputExpr->getType() in CreateBuiltinUnaryOp()
11336 RecordModifiableNonNullParam(*this, InputExpr); in CreateBuiltinUnaryOp()
/external/llvm-project/clang/lib/Sema/
DSemaStmtAsm.cpp378 Expr *InputExpr = Exprs[i]; in ActOnGCCAsmStmt() local
381 if (CheckNakedParmReference(InputExpr, *this)) in ActOnGCCAsmStmt()
386 checkExprMemoryConstraintCompat(*this, InputExpr, Info, true)) in ActOnGCCAsmStmt()
391 if (CheckAsmLValue(InputExpr, *this)) in ActOnGCCAsmStmt()
392 return StmtError(Diag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
395 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
397 if (!InputExpr->isValueDependent()) { in ActOnGCCAsmStmt()
399 if (InputExpr->EvaluateAsRValue(EVResult, Context, true)) { in ActOnGCCAsmStmt()
403 if (EVResult.Val.toIntegralConstant(IntResult, InputExpr->getType(), in ActOnGCCAsmStmt()
406 return StmtError(Diag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
[all …]
DTreeTransform.h4309 Expr *InputExpr = Input.getSourceExpression(); in TransformTemplateArgument() local
4310 if (!InputExpr) InputExpr = Input.getArgument().getAsExpr(); in TransformTemplateArgument()
4312 ExprResult E = getDerived().TransformExpr(InputExpr); in TransformTemplateArgument()
7546 Expr *InputExpr = S->getInputExpr(I); in TransformGCCAsmStmt() local
7547 ExprResult Result = getDerived().TransformExpr(InputExpr); in TransformGCCAsmStmt()
7551 ExprsChanged |= Result.get() != InputExpr; in TransformGCCAsmStmt()
DSemaExpr.cpp14527 Expr *InputExpr) { in CreateBuiltinUnaryOp() argument
14528 ExprResult Input = InputExpr; in CreateBuiltinUnaryOp()
14536 QualType Ty = InputExpr->getType(); in CreateBuiltinUnaryOp()
14544 << InputExpr->getType() in CreateBuiltinUnaryOp()
14564 CheckAddressOfNoDeref(InputExpr); in CreateBuiltinUnaryOp()
14565 RecordModifiableNonNullParam(*this, InputExpr); in CreateBuiltinUnaryOp()
/external/clang/lib/CodeGen/
DCGStmt.cpp1741 const Expr *InputExpr, in EmitAsmInput() argument
1747 if (InputExpr->EvaluateAsInt(Result, getContext())) in EmitAsmInput()
1754 if (CodeGenFunction::hasScalarEvaluationKind(InputExpr->getType())) in EmitAsmInput()
1755 return EmitScalarExpr(InputExpr); in EmitAsmInput()
1756 if (InputExpr->getStmtClass() == Expr::CXXThisExprClass) in EmitAsmInput()
1757 return EmitScalarExpr(InputExpr); in EmitAsmInput()
1758 InputExpr = InputExpr->IgnoreParenNoopCasts(getContext()); in EmitAsmInput()
1759 LValue Dest = EmitLValue(InputExpr); in EmitAsmInput()
1760 return EmitAsmInputLValue(Info, Dest, InputExpr->getType(), ConstraintStr, in EmitAsmInput()
1761 InputExpr->getExprLoc()); in EmitAsmInput()
[all …]
DCodeGenFunction.h3271 const Expr *InputExpr, std::string &ConstraintStr);
/external/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp2055 const Expr *InputExpr, in EmitAsmInput() argument
2062 InputExpr->EvaluateAsRValue(EVResult, getContext(), true); in EmitAsmInput()
2065 if (EVResult.Val.toIntegralConstant(IntResult, InputExpr->getType(), in EmitAsmInput()
2071 if (InputExpr->EvaluateAsInt(Result, getContext())) in EmitAsmInput()
2076 if (CodeGenFunction::hasScalarEvaluationKind(InputExpr->getType())) in EmitAsmInput()
2077 return EmitScalarExpr(InputExpr); in EmitAsmInput()
2078 if (InputExpr->getStmtClass() == Expr::CXXThisExprClass) in EmitAsmInput()
2079 return EmitScalarExpr(InputExpr); in EmitAsmInput()
2080 InputExpr = InputExpr->IgnoreParenNoopCasts(getContext()); in EmitAsmInput()
2081 LValue Dest = EmitLValue(InputExpr); in EmitAsmInput()
[all …]
DCodeGenFunction.h4534 const Expr *InputExpr, std::string &ConstraintStr);
/external/clang/include/clang/Sema/
DSema.h3892 Expr *InputExpr);
/external/llvm-project/clang/include/clang/Sema/
DSema.h5076 Expr *InputExpr);