Lines Matching refs:InputExpr

379     Expr *InputExpr = Exprs[i];  in ActOnGCCAsmStmt()  local
381 if (InputExpr->getType()->isMemberPointerType()) in ActOnGCCAsmStmt()
382 return StmtError(Diag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
384 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
387 if (CheckNakedParmReference(InputExpr, *this)) in ActOnGCCAsmStmt()
392 checkExprMemoryConstraintCompat(*this, InputExpr, Info, true)) in ActOnGCCAsmStmt()
397 if (CheckAsmLValue(InputExpr, *this)) in ActOnGCCAsmStmt()
398 return StmtError(Diag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
401 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
407 InputExpr = Exprs[i] = Result.get(); in ActOnGCCAsmStmt()
410 if (!InputExpr->isValueDependent()) { in ActOnGCCAsmStmt()
412 if (InputExpr->EvaluateAsRValue(EVResult, Context, true)) { in ActOnGCCAsmStmt()
416 if (EVResult.Val.toIntegralConstant(IntResult, InputExpr->getType(), in ActOnGCCAsmStmt()
420 Diag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
423 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
430 if (InputExpr->getType()->isVoidType()) { in ActOnGCCAsmStmt()
432 Diag(InputExpr->getBeginLoc(), diag::err_asm_invalid_type_in_input) in ActOnGCCAsmStmt()
433 << InputExpr->getType() << Info.getConstraintStr() in ActOnGCCAsmStmt()
434 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
438 if (InputExpr->getType()->isBitIntType()) in ActOnGCCAsmStmt()
440 Diag(InputExpr->getBeginLoc(), diag::err_asm_invalid_type) in ActOnGCCAsmStmt()
441 << InputExpr->getType() << 1 /*Output*/ in ActOnGCCAsmStmt()
442 << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
451 if (RequireCompleteType(InputExpr->getBeginLoc(), Exprs[i]->getType(), in ActOnGCCAsmStmt()
458 return targetDiag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
598 Expr *InputExpr = Exprs[InputOpNo]; in ActOnGCCAsmStmt() local
613 if (OutputExpr->isTypeDependent() || InputExpr->isTypeDependent()) in ActOnGCCAsmStmt()
616 QualType InTy = InputExpr->getType(); in ActOnGCCAsmStmt()
694 InputExpr->isEvaluatable(Context)) { in ActOnGCCAsmStmt()
697 InputExpr = ImpCastExprToType(InputExpr, OutTy, castKind).get(); in ActOnGCCAsmStmt()
698 Exprs[InputOpNo] = InputExpr; in ActOnGCCAsmStmt()
699 NS->setInputExpr(i, InputExpr); in ActOnGCCAsmStmt()
703 targetDiag(InputExpr->getBeginLoc(), diag::err_asm_tying_incompatible_types) in ActOnGCCAsmStmt()
705 << InputExpr->getSourceRange(); in ActOnGCCAsmStmt()