llvm.org GIT mirror llvm / 7aa375c
[OCaml] Add GlobalIFunc value kind to OCaml API Summary: The GlobalIFunc value kind has not yet been added to the OCaml API. This patch only extends the enum, so that e.g. classify_value will not crash. No support for manipulating or building GlobalIFuncs is added at this point. Reviewers: whitequark, deadalnix Reviewed By: whitequark Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D52198 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342429 91177308-0d34-0410-b5e6-96231b3b80d8 whitequark 1 year, 1 month ago
4 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
309309 | ConstantVector
310310 | Function
311311 | GlobalAlias
312 | GlobalIFunc
312313 | GlobalVariable
313314 | UndefValue
314315 | Instruction of Opcode.t
342342 | ConstantVector
343343 | Function
344344 | GlobalAlias
345 | GlobalIFunc
345346 | GlobalVariable
346347 | UndefValue
347348 | Instruction of Opcode.t
618618 ConstantVector,
619619 Function,
620620 GlobalAlias,
621 GlobalIFunc,
621622 GlobalVariable,
622623 UndefValue,
623624 Instruction
653654 if (LLVMIsAGlobalValue(Val)) {
654655 DEFINE_CASE(Val, Function);
655656 DEFINE_CASE(Val, GlobalAlias);
657 DEFINE_CASE(Val, GlobalIFunc);
656658 DEFINE_CASE(Val, GlobalVariable);
657659 }
658660 DEFINE_CASE(Val, Argument);
14641464 macro(ConstantVector) \
14651465 macro(GlobalValue) \
14661466 macro(GlobalAlias) \
1467 macro(GlobalIFunc) \
14671468 macro(GlobalObject) \
14681469 macro(Function) \
14691470 macro(GlobalVariable) \