montimaj

CGBuiltin.cpp_augmented

Jun 28th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. Value *CodeGenFunction::EmitFooBuiltinExpr(unsigned BuiltinID,
  2.                                            const CallExpr *E) {
  3.     if (BuiltinID == Foo::BI__builtin_foo_sqrt_test) {
  4.     Value *Option = EmitScalarExpr(E->getArg(0));
  5.     return Builder.CreateCall(CGM.getIntrinsic(Intrinsic::foo_sqrt_test), Option);
  6.   }
  7.   return nullptr;
  8. }
Add Comment
Please, Sign In to add comment