Lines Matching refs:BuiltinCall
179 static bool SemaBuiltinCallWithStaticChain(Sema &S, CallExpr *BuiltinCall) { in SemaBuiltinCallWithStaticChain() argument
180 if (checkArgCount(S, BuiltinCall, 2)) in SemaBuiltinCallWithStaticChain()
183 SourceLocation BuiltinLoc = BuiltinCall->getLocStart(); in SemaBuiltinCallWithStaticChain()
184 Expr *Builtin = BuiltinCall->getCallee()->IgnoreImpCasts(); in SemaBuiltinCallWithStaticChain()
185 Expr *Call = BuiltinCall->getArg(0); in SemaBuiltinCallWithStaticChain()
186 Expr *Chain = BuiltinCall->getArg(1); in SemaBuiltinCallWithStaticChain()
233 BuiltinCall->setType(CE->getType()); in SemaBuiltinCallWithStaticChain()
234 BuiltinCall->setValueKind(CE->getValueKind()); in SemaBuiltinCallWithStaticChain()
235 BuiltinCall->setObjectKind(CE->getObjectKind()); in SemaBuiltinCallWithStaticChain()
236 BuiltinCall->setCallee(Builtin); in SemaBuiltinCallWithStaticChain()
237 BuiltinCall->setArg(1, ChainResult.get()); in SemaBuiltinCallWithStaticChain()