public Module(string name) { Guard.ArgumentNull(name, "name"); m_handle = Native.ModuleCreateWithName(name); }
public static TypeRef CreatePointer(TypeRef target) { Guard.ArgumentNull(target, "target"); return(new TypeRef(Native.PointerType(target.Handle, 0), target.Handle)); }
public PassManager(Module module) { Guard.ArgumentNull(module, "module"); m_handle = Native.CreateFunctionPassManagerForModule(module.Handle); m_module = module.Handle; }
public void MoveAfter(BasicBlock block) { Guard.ArgumentNull(block, "block"); Native.MoveBasicBlockAfter(BBHandle, block.BBHandle); }