mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-03 01:48:15 +00:00
[OCaml] (PR16190) Add ValueKinds for ConstantDataSequential and subclasses
Original patch by David Monniaux llvm-svn: 194075
This commit is contained in:
parent
7dcd58a3c6
commit
012a4ffd60
@ -260,6 +260,8 @@ module ValueKind = struct
|
||||
| BlockAddress
|
||||
| ConstantAggregateZero
|
||||
| ConstantArray
|
||||
| ConstantDataArray
|
||||
| ConstantDataVector
|
||||
| ConstantExpr
|
||||
| ConstantFP
|
||||
| ConstantInt
|
||||
|
@ -323,6 +323,8 @@ module ValueKind : sig
|
||||
| BlockAddress
|
||||
| ConstantAggregateZero
|
||||
| ConstantArray
|
||||
| ConstantDataArray
|
||||
| ConstantDataVector
|
||||
| ConstantExpr
|
||||
| ConstantFP
|
||||
| ConstantInt
|
||||
|
@ -454,6 +454,8 @@ enum ValueKind {
|
||||
BlockAddress,
|
||||
ConstantAggregateZero,
|
||||
ConstantArray,
|
||||
ConstantDataArray,
|
||||
ConstantDataVector,
|
||||
ConstantExpr,
|
||||
ConstantFP,
|
||||
ConstantInt,
|
||||
@ -479,6 +481,8 @@ CAMLprim value llvm_classify_value(LLVMValueRef Val) {
|
||||
DEFINE_CASE(Val, BlockAddress);
|
||||
DEFINE_CASE(Val, ConstantAggregateZero);
|
||||
DEFINE_CASE(Val, ConstantArray);
|
||||
DEFINE_CASE(Val, ConstantDataArray);
|
||||
DEFINE_CASE(Val, ConstantDataVector);
|
||||
DEFINE_CASE(Val, ConstantExpr);
|
||||
DEFINE_CASE(Val, ConstantFP);
|
||||
DEFINE_CASE(Val, ConstantInt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user