//===- GenericValue.h - Represent any type of LLVM value --------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // The GenericValue class is used to represent an LLVM value of arbitrary type. // //===----------------------------------------------------------------------===// #ifndef LLVM_EXECUTIONENGINE_GENERICVALUE_H #define LLVM_EXECUTIONENGINE_GENERICVALUE_H #include "llvm/ADT/APInt.h" #include <vector> namespace llvm { PointerTy; struct GenericValue { … }; inline GenericValue PTOGV(void *P) { … } inline void *GVTOP(const GenericValue &GV) { … } } // end namespace llvm #endif // LLVM_EXECUTIONENGINE_GENERICVALUE_H