• Home
  • Raw
  • Download

Lines Matching refs:InputExpr

267     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()
293 return StmtError(Diag(InputExpr->getLocStart(), in ActOnGCCAsmStmt()
296 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
308 if (InputExpr->getType()->isVoidType()) { in ActOnGCCAsmStmt()
309 return StmtError(Diag(InputExpr->getLocStart(), in ActOnGCCAsmStmt()
311 << InputExpr->getType() << Info.getConstraintStr() in ActOnGCCAsmStmt()
312 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
323 if (RequireCompleteType(InputExpr->getLocStart(), Exprs[i]->getType(), in ActOnGCCAsmStmt()
330 return StmtError(Diag(InputExpr->getLocStart(), in ActOnGCCAsmStmt()
444 Expr *InputExpr = Exprs[InputOpNo]; in ActOnGCCAsmStmt() local
459 if (OutputExpr->isTypeDependent() || InputExpr->isTypeDependent()) in ActOnGCCAsmStmt()
462 QualType InTy = InputExpr->getType(); in ActOnGCCAsmStmt()
531 InputExpr->isEvaluatable(Context)) { in ActOnGCCAsmStmt()
534 InputExpr = ImpCastExprToType(InputExpr, OutTy, castKind).get(); in ActOnGCCAsmStmt()
535 Exprs[InputOpNo] = InputExpr; in ActOnGCCAsmStmt()
536 NS->setInputExpr(i, InputExpr); in ActOnGCCAsmStmt()
540 Diag(InputExpr->getLocStart(), in ActOnGCCAsmStmt()
543 << InputExpr->getSourceRange(); in ActOnGCCAsmStmt()