Searched refs:TypeOracle (Results 1 – 9 of 9) sorted by relevance
326 return TypeOracle::GetVoidType(); in Visit()382 GenerateImplicitConvert(TypeOracle::GetBoolType(), condition_result); in Visit()476 VisitResult one = {TypeOracle::GetConstInt31Type(), "1"}; in Visit()534 std::string temp = GenerateNewTempVariable(TypeOracle::GetConstStringType()); in Visit()537 return VisitResult{TypeOracle::GetConstStringType(), temp}; in Visit()546 const Type* type = TypeOracle::GetFunctionPointerType( in GetBuiltinCode()596 return TypeOracle::GetNeverType(); in Visit()607 if (!(expression_result.type() == TypeOracle::GetConstexprBoolType())) { in Visit()615 const Type* right_result = TypeOracle::GetVoidType(); in Visit()671 return live ? TypeOracle::GetVoidType() : TypeOracle::GetNeverType(); in Visit()[all …]
18 class TypeOracle : public ContextualClass<TypeOracle> {20 explicit TypeOracle(Declarations* declarations) in TypeOracle() function
152 return TypeOracle::GetUnionType(std::move(result)); in NonConstexprVersion()177 if (types_.size() == 0) types_.insert(TypeOracle::GetNeverType()); in Subtract()184 return TypeOracle::GetUnionType(result); in SubtractType()269 return TypeOracle::IsImplicitlyConvertableFrom(to, from); in IsAssignableFrom()284 if (!IsAssignableFrom(TypeOracle::GetObjectType(), current)) return false; in IsCompatibleSignature()
11 DEFINE_CONTEXTUAL_VARIABLE(TypeOracle)
86 return TypeOracle::GetUnionType(GetType(union_type->a), in GetType()94 return TypeOracle::GetFunctionPointerType( in GetType()218 const AbstractType* type = TypeOracle::GetAbstractType( in DeclareAbstractType()232 const StructType* new_type = TypeOracle::GetStructType(module, name, fields); in DeclareStruct()
146 friend class TypeOracle;198 friend class TypeOracle;325 friend class TypeOracle;
54 TypeOracle::Scope type_oracle(global_context.declarations()); in WrappedMain()
19 class TypeOracle; variable
161 TypeOracle::GetArgumentsType(), "arguments"); in Visit()