MCPcopy Create free account
hub / github.com/ReadyTalk/avian / f2f

Method f2f

src/codegen/compiler.cpp:2849–2856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2847 }
2848
2849 virtual ir::Value* f2f(ir::Type resType, ir::Value* a)
2850 {
2851 assertT(&c, isFloatValue(a));
2852 assertT(&c, resType.flavor() == ir::Type::Float);
2853 Value* result = value(&c, resType);
2854 appendTranslate(&c, lir::Float2Float, static_cast<Value*>(a), result);
2855 return result;
2856 }
2857
2858 virtual ir::Value* f2i(ir::Type resType, ir::Value* a)
2859 {

Callers 1

compileFunction · 0.80

Calls 5

assertTFunction · 0.85
isFloatValueFunction · 0.85
valueFunction · 0.85
appendTranslateFunction · 0.85
flavorMethod · 0.80

Tested by

no test coverage detected