Example #1
0
        public Value CreateBinOp(Instruction.BinaryOps Opc, Value LHS, Value RHS, ReadOnlySpan <char> Name)
        {
            var handle = Handle.BuildBinOp((LLVMOpcode)Opc, LHS.Handle, RHS.Handle, Name);

            return(Context.GetOrCreate(handle));
        }
Example #2
0
 public Value CreateBinOp(Instruction.BinaryOps Opc, Value LHS, Value RHS, string Name = "") => CreateBinOp(Opc, LHS, RHS, Name.AsSpan());