--- a/LLVMIRBuilder.st Wed Oct 07 06:10:55 2015 +0100
+++ b/LLVMIRBuilder.st Mon Oct 12 20:52:13 2015 +0100
@@ -328,6 +328,23 @@
"Created: / 07-08-2015 / 18:18:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
+!LLVMIRBuilder methodsFor:'instructions - conversion'!
+
+bitcast: value to: type
+ ^ self bitcast: value to: type as: ''
+
+ "Created: / 12-10-2015 / 18:37:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+bitcast: value to: type as: name
+ self assertIsValue: value.
+ self assertIsType: type.
+ self assertIsString: name.
+ ^ LLVM BuildBitCast: self _: value _: type _: name.
+
+ "Created: / 12-10-2015 / 18:36:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
!LLVMIRBuilder methodsFor:'instructions - memory'!
alloca: type