Lines Matching refs:InputExpr
235 Expr *InputExpr = Exprs[i]; in ActOnGCCAsmStmt() local
238 if (CheckNakedParmReference(InputExpr, *this)) in ActOnGCCAsmStmt()
243 if (CheckAsmLValue(InputExpr, *this)) in ActOnGCCAsmStmt()
244 return StmtError(Diag(InputExpr->getLocStart(), in ActOnGCCAsmStmt()
247 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
250 if (!InputExpr->EvaluateAsInt(Result, Context)) in ActOnGCCAsmStmt()
252 Diag(InputExpr->getLocStart(), diag::err_asm_immediate_expected) in ActOnGCCAsmStmt()
253 << Info.getConstraintStr() << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
256 return StmtError(Diag(InputExpr->getLocStart(), in ActOnGCCAsmStmt()
259 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
270 if (InputExpr->getType()->isVoidType()) { in ActOnGCCAsmStmt()
271 return StmtError(Diag(InputExpr->getLocStart(), in ActOnGCCAsmStmt()
273 << InputExpr->getType() << Info.getConstraintStr() in ActOnGCCAsmStmt()
274 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
285 if (RequireCompleteType(InputExpr->getLocStart(), Exprs[i]->getType(), in ActOnGCCAsmStmt()
292 return StmtError(Diag(InputExpr->getLocStart(), in ActOnGCCAsmStmt()
404 Expr *InputExpr = Exprs[InputOpNo]; in ActOnGCCAsmStmt() local
406 if (OutputExpr->isTypeDependent() || InputExpr->isTypeDependent()) in ActOnGCCAsmStmt()
409 QualType InTy = InputExpr->getType(); in ActOnGCCAsmStmt()
478 InputExpr->isEvaluatable(Context)) { in ActOnGCCAsmStmt()
481 InputExpr = ImpCastExprToType(InputExpr, OutTy, castKind).get(); in ActOnGCCAsmStmt()
482 Exprs[InputOpNo] = InputExpr; in ActOnGCCAsmStmt()
483 NS->setInputExpr(i, InputExpr); in ActOnGCCAsmStmt()
487 Diag(InputExpr->getLocStart(), in ActOnGCCAsmStmt()
490 << InputExpr->getSourceRange(); in ActOnGCCAsmStmt()