Lines Matching defs:InputExpr

374     Expr *InputExpr = Exprs[i];
376 if (InputExpr->getType()->isMemberPointerType())
377 return StmtError(Diag(InputExpr->getBeginLoc(),
379 << InputExpr->getSourceRange());
382 if (CheckNakedParmReference(InputExpr, *this))
387 checkExprMemoryConstraintCompat(*this, InputExpr, Info, true))
392 if (CheckAsmLValue(InputExpr, *this))
393 return StmtError(Diag(InputExpr->getBeginLoc(),
396 << InputExpr->getSourceRange());
402 InputExpr = Exprs[i] = Result.get();
405 if (!InputExpr->isValueDependent()) {
407 if (InputExpr->EvaluateAsRValue(EVResult, Context, true)) {
411 if (EVResult.Val.toIntegralConstant(IntResult, InputExpr->getType(),
415 Diag(InputExpr->getBeginLoc(),
418 << InputExpr->getSourceRange());
425 if (InputExpr->getType()->isVoidType()) {
427 Diag(InputExpr->getBeginLoc(), diag::err_asm_invalid_type_in_input)
428 << InputExpr->getType() << Info.getConstraintStr()
429 << InputExpr->getSourceRange());
433 if (InputExpr->getType()->isBitIntType())
435 Diag(InputExpr->getBeginLoc(), diag::err_asm_invalid_type)
436 << InputExpr->getType() << 1 /*Output*/
437 << InputExpr->getSourceRange());
446 if (RequireCompleteType(InputExpr->getBeginLoc(), Exprs[i]->getType(),
453 return targetDiag(InputExpr->getBeginLoc(),
593 Expr *InputExpr = Exprs[InputOpNo];
608 if (OutputExpr->isTypeDependent() || InputExpr->isTypeDependent())
611 QualType InTy = InputExpr->getType();
694 InputExpr->isEvaluatable(Context)) {
697 InputExpr = ImpCastExprToType(InputExpr, OutTy, castKind).get();
698 Exprs[InputOpNo] = InputExpr;
699 NS->setInputExpr(i, InputExpr);
703 targetDiag(InputExpr->getBeginLoc(), diag::err_asm_tying_incompatible_types)
705 << InputExpr->getSourceRange();