23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
-
+
|
}
}
namespace empathy::ir
{
Value Bridge< PointerType >::ToValue( const PointerType& p )
{
return Value( Type(), TVEC( TSID( rt_type ),
return Value( Type(), VEC( TSID( rt_type ),
TERM( llvm::PointerType::getUnqual( GetLLVMType( *ValueFromIRExpr( p.m_pointedType ) ) ) ),
TSID( pointer ), p.m_pointedType ) );
}
optional< PointerType > Bridge< PointerType >::FromValue( const Value& v )
{
auto result = Decompose( v.val(),
|