Lines Matching refs:BuiltinCall
142 static bool SemaBuiltinCallWithStaticChain(Sema &S, CallExpr *BuiltinCall) { in SemaBuiltinCallWithStaticChain() argument
143 if (checkArgCount(S, BuiltinCall, 2)) in SemaBuiltinCallWithStaticChain()
146 SourceLocation BuiltinLoc = BuiltinCall->getLocStart(); in SemaBuiltinCallWithStaticChain()
147 Expr *Builtin = BuiltinCall->getCallee()->IgnoreImpCasts(); in SemaBuiltinCallWithStaticChain()
148 Expr *Call = BuiltinCall->getArg(0); in SemaBuiltinCallWithStaticChain()
149 Expr *Chain = BuiltinCall->getArg(1); in SemaBuiltinCallWithStaticChain()
196 BuiltinCall->setType(CE->getType()); in SemaBuiltinCallWithStaticChain()
197 BuiltinCall->setValueKind(CE->getValueKind()); in SemaBuiltinCallWithStaticChain()
198 BuiltinCall->setObjectKind(CE->getObjectKind()); in SemaBuiltinCallWithStaticChain()
199 BuiltinCall->setCallee(Builtin); in SemaBuiltinCallWithStaticChain()
200 BuiltinCall->setArg(1, ChainResult.get()); in SemaBuiltinCallWithStaticChain()