public FloatComparisonBlock( LLVMCodeGenerator CodeGenerator, CodeBlock Left, CodeBlock Right, LLVMRealPredicate Predicate) { this.codeGen = CodeGenerator; this.lhs = Left; this.rhs = Right; this.predicate = Predicate; }
public static extern LLVMValueRef* BuildFCmp(LLVMBuilderRef* LLVMBuilderRef, LLVMRealPredicate Op, LLVMValueRef* LHS, LLVMValueRef* RHS, [In][MarshalAs(UnmanagedType.LPStr)] string Name);
public static extern LLVMValueRef* ConstFCmp(LLVMRealPredicate Predicate, LLVMValueRef* LHSConstant, LLVMValueRef* RHSConstant);
public static extern LLVMValueRef ConstFCmp(LLVMRealPredicate @Predicate, LLVMValueRef @LHSConstant, LLVMValueRef @RHSConstant);
public static extern LLVMValueRef BuildFCmp(LLVMBuilderRef @param0, LLVMRealPredicate @Op, LLVMValueRef @LHS, LLVMValueRef @RHS, [MarshalAs(UnmanagedType.LPStr)] string @Name);
public Value BuildFCmpAndPromote(Value lhs, LLVMRealPredicate predicate, Value rhs, TypeRef promoteType) { lhs = BuildFCmp(lhs, predicate, rhs); return new Value(Native.BuildUIToFP(m_builder, lhs.Handle, promoteType.Handle, "promotetmp")); }
public Value BuildFCmp(Value lhs, LLVMRealPredicate predicate, Value rhs, string varName = tmpvarname) { return new Value(Native.BuildFCmp(m_builder, predicate, lhs.Handle, rhs.Handle, varName)); }
public LLVMValueRef CreateFCmp(LLVMRealPredicate @Op, LLVMValueRef @LHS, LLVMValueRef @RHS, string @Name) { return LLVM.BuildFCmp(this.instance, @Op, @LHS, @RHS, @Name); }
public static ConstantExpr GetFCmp(LLVMRealPredicate predicate, Constant lhs, Constant rhs) => LLVM.ConstFCmp(predicate, lhs.Unwrap(), rhs.Unwrap()).WrapAs <ConstantExpr>();
public Value BuildFCmpAndPromote(Value lhs, LLVMRealPredicate predicate, Value rhs, TypeRef promoteType) { lhs = BuildFCmp(lhs, predicate, rhs); return(new Value(Native.BuildUIToFP(m_builder, lhs.Handle, promoteType.Handle, "promotetmp"))); }
public Value BuildFCmp(Value lhs, LLVMRealPredicate predicate, Value rhs, string varName = tmpvarname) { return(new Value(Native.BuildFCmp(m_builder, predicate, lhs.Handle, rhs.Handle, varName))); }
public static RealPredicate Wrap(this LLVMRealPredicate handle) => (RealPredicate)(int)handle;
private OperatorSymbol binary(Tag tag, TypeTag left, TypeTag right, TypeTag result, LLVMOpcode opcode, LLVMRealPredicate realPredicate) { return(binary(tag, left, right, result, opcode, (int)realPredicate)); }
public Value BuildFCmp(Value lhs, LLVMRealPredicate predicate, Value rhs) { return BuildFCmp(lhs, predicate, rhs, "cmptmp"); }
public LLVMValueRef CreateFCmp(LLVMRealPredicate @Op, LLVMValueRef @LHS, LLVMValueRef @RHS, string @Name) { return(LLVM.BuildFCmp(this.instance, @Op, @LHS, @RHS, @Name)); }