@@ -160,6 +160,102 @@ void Compiler::createNot()
160160 impl->builder ->createNot ();
161161}
162162
163+ /* ! Creates a remainder operation using the last 2 values. */
164+ void Compiler::createMod ()
165+ {
166+ impl->builder ->createMod ();
167+ }
168+
169+ /* ! Creates a round operation using the last value. */
170+ void Compiler::createRound ()
171+ {
172+ impl->builder ->createRound ();
173+ }
174+
175+ /* ! Creates an abs operation using the last value. */
176+ void Compiler::createAbs ()
177+ {
178+ impl->builder ->createAbs ();
179+ }
180+
181+ /* ! Creates a floor operation using the last value. */
182+ void Compiler::createFloor ()
183+ {
184+ impl->builder ->createFloor ();
185+ }
186+
187+ /* ! Creates a ceiling operation using the last value. */
188+ void Compiler::createCeil ()
189+ {
190+ impl->builder ->createCeil ();
191+ }
192+
193+ /* ! Creates a square root operation using the last value. */
194+ void Compiler::createSqrt ()
195+ {
196+ impl->builder ->createSqrt ();
197+ }
198+
199+ /* ! Creates a sin operation using the last value. */
200+ void Compiler::createSin ()
201+ {
202+ impl->builder ->createSin ();
203+ }
204+
205+ /* ! Creates a cos operation using the last value. */
206+ void Compiler::createCos ()
207+ {
208+ impl->builder ->createCos ();
209+ }
210+
211+ /* ! Creates a tan operation using the last value. */
212+ void Compiler::createTan ()
213+ {
214+ impl->builder ->createTan ();
215+ }
216+
217+ /* ! Creates an asin operation using the last value. */
218+ void Compiler::createAsin ()
219+ {
220+ impl->builder ->createAsin ();
221+ }
222+
223+ /* ! Creates an acos operation using the last value. */
224+ void Compiler::createAcos ()
225+ {
226+ impl->builder ->createAcos ();
227+ }
228+
229+ /* ! Creates an atan operation using the last value. */
230+ void Compiler::createAtan ()
231+ {
232+ impl->builder ->createAtan ();
233+ }
234+
235+ /* ! Creates an ln operation using the last value. */
236+ void Compiler::createLn ()
237+ {
238+ impl->builder ->createLn ();
239+ }
240+
241+ /* ! Creates a log10 operation using the last value. */
242+ void Compiler::createLog10 ()
243+ {
244+ impl->builder ->createLog10 ();
245+ }
246+
247+ /* ! Creates an e^x operation using the last value. */
248+ void Compiler::createExp ()
249+ {
250+ impl->builder ->createExp ();
251+ }
252+
253+ /* ! Creates a 10^x operation using the last value. */
254+ void Compiler::createExp10 ()
255+ {
256+ impl->builder ->createExp10 ();
257+ }
258+
163259/* ! Jumps to the given if substack. */
164260void Compiler::moveToIf (std::shared_ptr<Block> substack)
165261{
0 commit comments