Lines Matching refs:Info
113 TargetInfo::ConstraintInfo &Info, in checkExprMemoryConstraintCompat() argument
133 << EType << is_input_expr << Info.getConstraintStr() in checkExprMemoryConstraintCompat()
175 TargetInfo::ConstraintInfo Info(Literal->getString(), OutputName); in ActOnGCCAsmStmt() local
176 if (!Context.getTargetInfo().validateOutputConstraint(Info)) in ActOnGCCAsmStmt()
179 << Info.getConstraintStr()); in ActOnGCCAsmStmt()
194 if (Info.allowsMemory() && in ActOnGCCAsmStmt()
195 checkExprMemoryConstraintCompat(*this, OutputExpr, Info, false)) in ActOnGCCAsmStmt()
198 OutputConstraintInfos.push_back(Info); in ActOnGCCAsmStmt()
241 << Info.getConstraintStr()); in ActOnGCCAsmStmt()
254 TargetInfo::ConstraintInfo Info(Literal->getString(), InputName); in ActOnGCCAsmStmt() local
256 Info)) { in ActOnGCCAsmStmt()
259 << Info.getConstraintStr()); in ActOnGCCAsmStmt()
274 if (Info.allowsMemory() && in ActOnGCCAsmStmt()
275 checkExprMemoryConstraintCompat(*this, InputExpr, Info, true)) in ActOnGCCAsmStmt()
279 if (Info.allowsMemory() && !Info.allowsRegister()) { in ActOnGCCAsmStmt()
283 << Info.getConstraintStr() in ActOnGCCAsmStmt()
285 } else if (Info.requiresImmediateConstant() && !Info.allowsRegister()) { in ActOnGCCAsmStmt()
291 << Info.getConstraintStr() << InputExpr->getSourceRange()); in ActOnGCCAsmStmt()
292 if (!Info.isValidAsmImmediate(Result)) in ActOnGCCAsmStmt()
295 << Result.toString(10) << Info.getConstraintStr() in ActOnGCCAsmStmt()
307 if (Info.allowsRegister()) { in ActOnGCCAsmStmt()
311 << InputExpr->getType() << Info.getConstraintStr() in ActOnGCCAsmStmt()
316 InputConstraintInfos.push_back(Info); in ActOnGCCAsmStmt()
322 if (!Ty->isVoidType() || !Info.allowsMemory()) in ActOnGCCAsmStmt()
332 << Info.getConstraintStr()); in ActOnGCCAsmStmt()
413 TargetInfo::ConstraintInfo &Info = OutputConstraintInfos[i]; in ActOnGCCAsmStmt() local
414 StringRef ConstraintStr = Info.getConstraintStr(); in ActOnGCCAsmStmt()
426 TargetInfo::ConstraintInfo &Info = InputConstraintInfos[i]; in ActOnGCCAsmStmt() local
427 StringRef ConstraintStr = Info.getConstraintStr(); in ActOnGCCAsmStmt()
439 if (!Info.hasTiedOperand()) continue; in ActOnGCCAsmStmt()
441 unsigned TiedTo = Info.getTiedOperand(); in ActOnGCCAsmStmt()
551 llvm::InlineAsmIdentifierInfo &Info) { in fillInlineAsmTypeInfo() argument
553 Info.Type = Info.Size = Context.getTypeSizeInChars(T).getQuantity(); in fillInlineAsmTypeInfo()
556 Info.Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity(); in fillInlineAsmTypeInfo()
557 Info.Length = Info.Size / Info.Type; in fillInlineAsmTypeInfo()
564 llvm::InlineAsmIdentifierInfo &Info, in LookupInlineAsmIdentifier() argument
566 Info.clear(); in LookupInlineAsmIdentifier()
606 fillInlineAsmTypeInfo(Context, T, Info); in LookupInlineAsmIdentifier()
610 Info.IsVarDecl = true; in LookupInlineAsmIdentifier()
674 llvm::InlineAsmIdentifierInfo &Info, in LookupInlineAsmVarDeclField() argument
676 Info.clear(); in LookupInlineAsmVarDeclField()
713 Info.OpDecl = Result.get(); in LookupInlineAsmVarDeclField()
715 fillInlineAsmTypeInfo(Context, Result.get()->getType(), Info); in LookupInlineAsmVarDeclField()
718 Info.IsVarDecl = true; in LookupInlineAsmVarDeclField()