566 void *DiagnosticContext);
676 const char *K,
unsigned KLength,
677 const char *V,
unsigned VLength);
850 unsigned Index,
size_t *Len);
867 const char *Key,
size_t KeyLen);
876 const char *Key,
size_t KeyLen,
893 char **ErrorMessage);
930 size_t AsmStringSize,
const char *Constraints,
931 size_t ConstraintsSize,
LLVMBool HasSideEffects,
1028 const char *Name,
size_t NameLen);
1399 unsigned ElementCount,
LLVMBool Packed);
1429 unsigned ElementCount,
LLVMBool Packed);
1610 unsigned ElementCount);
1675 unsigned TypeParamCount,
1676 unsigned *IntParams,
1677 unsigned IntParamCount);
1708#define LLVM_FOR_EACH_VALUE_SUBCLASS(macro) \
1714 macro(BlockAddress) \
1715 macro(ConstantAggregateZero) \
1716 macro(ConstantArray) \
1717 macro(ConstantDataSequential) \
1718 macro(ConstantDataArray) \
1719 macro(ConstantDataVector) \
1720 macro(ConstantExpr) \
1722 macro(ConstantInt) \
1723 macro(ConstantPointerNull) \
1724 macro(ConstantStruct) \
1725 macro(ConstantTokenNone) \
1726 macro(ConstantVector) \
1727 macro(GlobalValue) \
1728 macro(GlobalAlias) \
1729 macro(GlobalObject) \
1731 macro(GlobalVariable) \
1732 macro(GlobalIFunc) \
1734 macro(PoisonValue) \
1735 macro(Instruction) \
1736 macro(UnaryOperator) \
1737 macro(BinaryOperator) \
1739 macro(IntrinsicInst) \
1740 macro(DbgInfoIntrinsic) \
1741 macro(DbgVariableIntrinsic) \
1742 macro(DbgDeclareInst) \
1743 macro(DbgLabelInst) \
1744 macro(MemIntrinsic) \
1746 macro(MemMoveInst) \
1751 macro(ExtractElementInst) \
1752 macro(GetElementPtrInst) \
1753 macro(InsertElementInst) \
1754 macro(InsertValueInst) \
1755 macro(LandingPadInst) \
1758 macro(ShuffleVectorInst) \
1761 macro(IndirectBrInst) \
1765 macro(UnreachableInst) \
1767 macro(CleanupReturnInst) \
1768 macro(CatchReturnInst) \
1769 macro(CatchSwitchInst) \
1771 macro(FuncletPadInst) \
1772 macro(CatchPadInst) \
1773 macro(CleanupPadInst) \
1774 macro(UnaryInstruction) \
1777 macro(AddrSpaceCastInst) \
1778 macro(BitCastInst) \
1782 macro(FPTruncInst) \
1783 macro(IntToPtrInst) \
1784 macro(PtrToIntInst) \
1790 macro(ExtractValueInst) \
1794 macro(AtomicCmpXchgInst) \
1795 macro(AtomicRMWInst) \
1884#define LLVM_DECLARE_VALUE_CAST(name) \
1885 LLVMValueRef LLVMIsA##name(LLVMValueRef Val);
2110 unsigned SLen,
uint8_t Radix);
2171 unsigned Length,
LLVMBool DontNullTerminate);
2311 unsigned NumIndices);
2333 const
char *AsmString, const
char *Constraints,
2437 size_t *NumEntries);
2474 unsigned AddressSpace);
2523 const
char *Name,
size_t NameLen);
2653 size_t *NameLength);
2669 size_t *NameLength);
2727 const
char *K,
unsigned KLen);
2731 const
char *K,
unsigned KLen);
2850 const
char *Name,
size_t NameLen,
2862 const
char *Name,
size_t NameLen);
3362 size_t *NumEntries);
3521 const
char *K,
unsigned KLen);
3525 const
char *K,
unsigned KLen);
3950 unsigned NumHandlers, const
char *Name);
4181 unsigned NumIndices, const
char *Name);
4184 unsigned NumIndices, const
char *Name);
4268 unsigned NumBundles, const
char *Name);
4283 unsigned Index, const
char *Name);
4298 LLVMBool singleThread, const
char *Name);
4377 size_t InputDataLength,
4378 const
char *BufferName,
4381 size_t InputDataLength,
4382 const
char *BufferName);
#define LLVM_ATTRIBUTE_C_DEPRECATED(decl, message)
#define LLVM_C_EXTERN_C_BEGIN
#define LLVM_C_EXTERN_C_END
LLVMContextRef LLVMGetGlobalContext(void)
unsigned LLVMGetEnumAttributeKind(LLVMAttributeRef A)
void LLVMContextSetDiscardValueNames(LLVMContextRef C, LLVMBool Discard)
uint64_t LLVMGetEnumAttributeValue(LLVMAttributeRef A)
LLVMTypeRef LLVMGetTypeAttributeValue(LLVMAttributeRef A)
unsigned LLVMGetMDKindIDInContext(LLVMContextRef C, const char *Name, unsigned SLen)
LLVMDiagnosticSeverity LLVMGetDiagInfoSeverity(LLVMDiagnosticInfoRef DI)
char * LLVMGetDiagInfoDescription(LLVMDiagnosticInfoRef DI)
unsigned LLVMGetEnumAttributeKindForName(const char *Name, size_t SLen)
LLVMDiagnosticHandler LLVMContextGetDiagnosticHandler(LLVMContextRef C)
LLVMBool LLVMContextShouldDiscardValueNames(LLVMContextRef C)
LLVMAttributeRef LLVMCreateTypeAttribute(LLVMContextRef C, unsigned KindID, LLVMTypeRef type_ref)
LLVMAttributeRef LLVMCreateStringAttribute(LLVMContextRef C, const char *K, unsigned KLength, const char *V, unsigned VLength)
void LLVMContextDispose(LLVMContextRef C)
LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, uint64_t Val)
const char * LLVMGetStringAttributeKind(LLVMAttributeRef A, unsigned *Length)
LLVMTypeRef LLVMGetTypeByName2(LLVMContextRef C, const char *Name)
LLVMContextRef LLVMContextCreate(void)
void(* LLVMYieldCallback)(LLVMContextRef, void *)
unsigned LLVMGetLastEnumAttributeKind(void)
LLVMBool LLVMIsStringAttribute(LLVMAttributeRef A)
LLVMBool LLVMIsTypeAttribute(LLVMAttributeRef A)
const char * LLVMGetStringAttributeValue(LLVMAttributeRef A, unsigned *Length)
void LLVMContextSetYieldCallback(LLVMContextRef C, LLVMYieldCallback Callback, void *OpaqueHandle)
unsigned LLVMGetMDKindID(const char *Name, unsigned SLen)
void LLVMContextSetDiagnosticHandler(LLVMContextRef C, LLVMDiagnosticHandler Handler, void *DiagnosticContext)
void(* LLVMDiagnosticHandler)(LLVMDiagnosticInfoRef, void *)
void * LLVMContextGetDiagnosticContext(LLVMContextRef C)
LLVMBool LLVMIsEnumAttribute(LLVMAttributeRef A)
void LLVMGetVersion(unsigned *Major, unsigned *Minor, unsigned *Patch)
void LLVMDisposeMessage(char *Message)
char * LLVMCreateMessage(const char *Message)
LLVMValueRef LLVMBuildLoad2(LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef PointerVal, const char *Name)
LLVMValueRef LLVMBuildGlobalStringPtr(LLVMBuilderRef B, const char *Str, const char *Name)
LLVMValueRef LLVMBuildFence(LLVMBuilderRef B, LLVMAtomicOrdering ordering, LLVMBool singleThread, const char *Name)
LLVMValueRef LLVMBuildAtomicRMW(LLVMBuilderRef B, LLVMAtomicRMWBinOp op, LLVMValueRef PTR, LLVMValueRef Val, LLVMAtomicOrdering ordering, LLVMBool singleThread)
LLVMBool LLVMGetIsDisjoint(LLVMValueRef Inst)
LLVMValueRef LLVMBuildNot(LLVMBuilderRef, LLVMValueRef V, const char *Name)
LLVMValueRef LLVMBuildInvokeWithOperandBundles(LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, LLVMOperandBundleRef *Bundles, unsigned NumBundles, const char *Name)
LLVMValueRef LLVMBuildNSWSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildAnd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildFPExt(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
void LLVMClearInsertionPosition(LLVMBuilderRef Builder)
LLVMValueRef LLVMBuildFDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
void LLVMSetWeak(LLVMValueRef CmpXchgInst, LLVMBool IsWeak)
void LLVMSetNSW(LLVMValueRef ArithInst, LLVMBool HasNSW)
LLVMValueRef LLVMBuildFreeze(LLVMBuilderRef, LLVMValueRef Val, const char *Name)
LLVMValueRef LLVMBuildFAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildFMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildZExt(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildSExt(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildTruncOrBitCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildSExtOrBitCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildBitCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
void LLVMBuilderSetDefaultFPMathTag(LLVMBuilderRef Builder, LLVMMetadataRef FPMathTag)
LLVMValueRef LLVMBuildExtractValue(LLVMBuilderRef, LLVMValueRef AggVal, unsigned Index, const char *Name)
LLVMValueRef LLVMBuildFCmp(LLVMBuilderRef, LLVMRealPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
void LLVMSetCmpXchgFailureOrdering(LLVMValueRef CmpXchgInst, LLVMAtomicOrdering Ordering)
LLVMValueRef LLVMBuildFPTrunc(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMAtomicOrdering LLVMGetCmpXchgFailureOrdering(LLVMValueRef CmpXchgInst)
LLVMOpcode LLVMGetCastOpcode(LLVMValueRef Src, LLVMBool SrcIsSigned, LLVMTypeRef DestTy, LLVMBool DestIsSigned)
LLVMAtomicRMWBinOp LLVMGetAtomicRMWBinOp(LLVMValueRef AtomicRMWInst)
void LLVMSetNUW(LLVMValueRef ArithInst, LLVMBool HasNUW)
LLVMValueRef LLVMBuildSIToFP(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildShl(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
void LLVMSetCurrentDebugLocation2(LLVMBuilderRef Builder, LLVMMetadataRef Loc)
int LLVMGetUndefMaskElem(void)
LLVMBool LLVMGetWeak(LLVMValueRef CmpXchgInst)
LLVMValueRef LLVMBuildFRem(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildAlloca(LLVMBuilderRef, LLVMTypeRef Ty, const char *Name)
LLVMValueRef LLVMBuildSelect(LLVMBuilderRef, LLVMValueRef If, LLVMValueRef Then, LLVMValueRef Else, const char *Name)
LLVMValueRef LLVMBuildCatchPad(LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMValueRef *Args, unsigned NumArgs, const char *Name)
void LLVMSetIsDisjoint(LLVMValueRef Inst, LLVMBool IsDisjoint)
LLVMValueRef LLVMBuildMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildExactSDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildNUWSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildMalloc(LLVMBuilderRef, LLVMTypeRef Ty, const char *Name)
LLVMValueRef LLVMBuildIsNull(LLVMBuilderRef, LLVMValueRef Val, const char *Name)
LLVMValueRef LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PersFn, unsigned NumClauses, const char *Name)
LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef, LLVMValueRef *RetVals, unsigned N)
LLVMValueRef LLVMBuildAShr(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildInvoke2(LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, const char *Name)
LLVMValueRef LLVMBuildCallWithOperandBundles(LLVMBuilderRef, LLVMTypeRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMOperandBundleRef *Bundles, unsigned NumBundles, const char *Name)
LLVMValueRef LLVMBuildExactUDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
void LLVMSetOrdering(LLVMValueRef MemoryAccessInst, LLVMAtomicOrdering Ordering)
void LLVMSetCleanup(LLVMValueRef LandingPad, LLVMBool Val)
LLVMValueRef LLVMGetArgOperand(LLVMValueRef Funclet, unsigned i)
LLVMValueRef LLVMBuildInsertValue(LLVMBuilderRef, LLVMValueRef AggVal, LLVMValueRef EltVal, unsigned Index, const char *Name)
LLVMValueRef LLVMBuildAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildMemSet(LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Val, LLVMValueRef Len, unsigned Align)
LLVMValueRef LLVMBuildBr(LLVMBuilderRef, LLVMBasicBlockRef Dest)
LLVMValueRef LLVMBuildNSWMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildBinOp(LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildSRem(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
void LLVMDisposeBuilder(LLVMBuilderRef Builder)
int LLVMGetMaskValue(LLVMValueRef ShuffleVectorInst, unsigned Elt)
LLVMValueRef LLVMBuildFSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMGetClause(LLVMValueRef LandingPad, unsigned Idx)
LLVMMetadataRef LLVMGetCurrentDebugLocation2(LLVMBuilderRef Builder)
LLVMValueRef LLVMBuildArrayAlloca(LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name)
LLVMValueRef LLVMBuildVAArg(LLVMBuilderRef, LLVMValueRef List, LLVMTypeRef Ty, const char *Name)
LLVMBuilderRef LLVMCreateBuilderInContext(LLVMContextRef C)
LLVMValueRef LLVMBuildAtomicCmpXchg(LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Cmp, LLVMValueRef New, LLVMAtomicOrdering SuccessOrdering, LLVMAtomicOrdering FailureOrdering, LLVMBool SingleThread)
LLVMValueRef LLVMBuildICmp(LLVMBuilderRef, LLVMIntPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildPointerCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad)
void LLVMSetAtomicSingleThread(LLVMValueRef AtomicInst, LLVMBool SingleThread)
LLVMValueRef LLVMBuildCast(LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildTrunc(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildURem(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
void LLVMSetAtomicRMWBinOp(LLVMValueRef AtomicRMWInst, LLVMAtomicRMWBinOp BinOp)
LLVMValueRef LLVMBuildCall2(LLVMBuilderRef, LLVMTypeRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, const char *Name)
void LLVMAddClause(LLVMValueRef LandingPad, LLVMValueRef ClauseVal)
LLVMValueRef LLVMBuildOr(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMBool LLVMGetNUW(LLVMValueRef ArithInst)
LLVMValueRef LLVMBuildAddrSpaceCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildFPToUI(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
void LLVMSetCurrentDebugLocation(LLVMBuilderRef Builder, LLVMValueRef L)
LLVMValueRef LLVMBuildFPToSI(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildIntCast2(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, LLVMBool IsSigned, const char *Name)
LLVMValueRef LLVMBuildNSWAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildFNeg(LLVMBuilderRef, LLVMValueRef V, const char *Name)
LLVMMetadataRef LLVMBuilderGetDefaultFPMathTag(LLVMBuilderRef Builder)
LLVMValueRef LLVMBuildUDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch)
LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB)
LLVMValueRef LLVMBuildStructGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, unsigned Idx, const char *Name)
unsigned LLVMGetNumClauses(LLVMValueRef LandingPad)
LLVMBool LLVMGetNNeg(LLVMValueRef NonNegInst)
LLVMValueRef LLVMBuildSDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildStore(LLVMBuilderRef, LLVMValueRef Val, LLVMValueRef Ptr)
LLVMValueRef LLVMBuildCatchSwitch(LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMBasicBlockRef UnwindBB, unsigned NumHandlers, const char *Name)
LLVMValueRef LLVMBuildIntCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildNUWNeg(LLVMBuilderRef B, LLVMValueRef V, const char *Name)
LLVMValueRef LLVMBuildArrayMalloc(LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name)
LLVMValueRef LLVMBuildZExtOrBitCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildInBoundsGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name)
void LLVMGetHandlers(LLVMValueRef CatchSwitch, LLVMBasicBlockRef *Handlers)
LLVMAtomicOrdering LLVMGetOrdering(LLVMValueRef MemoryAccessInst)
LLVMValueRef LLVMBuildUIToFP(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildIntToPtr(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMValueRef LLVMBuildCondBr(LLVMBuilderRef, LLVMValueRef If, LLVMBasicBlockRef Then, LLVMBasicBlockRef Else)
LLVMValueRef LLVMBuildIndirectBr(LLVMBuilderRef B, LLVMValueRef Addr, unsigned NumDests)
void LLVMAddDestination(LLVMValueRef IndirectBr, LLVMBasicBlockRef Dest)
LLVMValueRef LLVMBuildNSWNeg(LLVMBuilderRef B, LLVMValueRef V, const char *Name)
LLVMValueRef LLVMBuildXor(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildGlobalString(LLVMBuilderRef B, const char *Str, const char *Name)
LLVMBool LLVMGetExact(LLVMValueRef DivOrShrInst)
LLVMValueRef LLVMBuildIsNotNull(LLVMBuilderRef, LLVMValueRef Val, const char *Name)
void LLVMSetArgOperand(LLVMValueRef Funclet, unsigned i, LLVMValueRef value)
LLVMValueRef LLVMBuildMemCpy(LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size)
LLVMValueRef LLVMBuildPtrDiff2(LLVMBuilderRef, LLVMTypeRef ElemTy, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
void LLVMSetInstDebugLocation(LLVMBuilderRef Builder, LLVMValueRef Inst)
void LLVMAddMetadataToInst(LLVMBuilderRef Builder, LLVMValueRef Inst)
LLVMValueRef LLVMBuildSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildNUWAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
LLVMValueRef LLVMBuildUnreachable(LLVMBuilderRef)
LLVMValueRef LLVMBuildShuffleVector(LLVMBuilderRef, LLVMValueRef V1, LLVMValueRef V2, LLVMValueRef Mask, const char *Name)
void LLVMSetVolatile(LLVMValueRef MemoryAccessInst, LLVMBool IsVolatile)
LLVMValueRef LLVMBuildFree(LLVMBuilderRef, LLVMValueRef PointerVal)
LLVMValueRef LLVMBuildGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name)
unsigned LLVMGetNumHandlers(LLVMValueRef CatchSwitch)
LLVMValueRef LLVMBuildFPCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMBuilderRef LLVMCreateBuilder(void)
void LLVMSetCmpXchgSuccessOrdering(LLVMValueRef CmpXchgInst, LLVMAtomicOrdering Ordering)
LLVMValueRef LLVMBuildPhi(LLVMBuilderRef, LLVMTypeRef Ty, const char *Name)
LLVMBool LLVMCanValueUseFastMathFlags(LLVMValueRef Inst)
void LLVMAddCase(LLVMValueRef Switch, LLVMValueRef OnVal, LLVMBasicBlockRef Dest)
LLVMBool LLVMIsAtomicSingleThread(LLVMValueRef AtomicInst)
LLVMValueRef LLVMBuildResume(LLVMBuilderRef B, LLVMValueRef Exn)
LLVMValueRef LLVMBuildSwitch(LLVMBuilderRef, LLVMValueRef V, LLVMBasicBlockRef Else, unsigned NumCases)
void LLVMInsertIntoBuilder(LLVMBuilderRef Builder, LLVMValueRef Instr)
LLVMValueRef LLVMBuildPtrToInt(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
LLVMBool LLVMIsCleanup(LLVMValueRef LandingPad)
LLVMBool LLVMGetNSW(LLVMValueRef ArithInst)
LLVMValueRef LLVMBuildMemMove(LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size)
LLVMValueRef LLVMBuildLShr(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
unsigned LLVMGetNumMaskElements(LLVMValueRef ShuffleVectorInst)
LLVMValueRef LLVMBuildRetVoid(LLVMBuilderRef)
LLVMValueRef LLVMBuildRet(LLVMBuilderRef, LLVMValueRef V)
void LLVMAddHandler(LLVMValueRef CatchSwitch, LLVMBasicBlockRef Dest)
LLVMValueRef LLVMBuildExtractElement(LLVMBuilderRef, LLVMValueRef VecVal, LLVMValueRef Index, const char *Name)
void LLVMPositionBuilderBefore(LLVMBuilderRef Builder, LLVMValueRef Instr)
LLVMValueRef LLVMGetCurrentDebugLocation(LLVMBuilderRef Builder)
LLVMAtomicOrdering LLVMGetCmpXchgSuccessOrdering(LLVMValueRef CmpXchgInst)
void LLVMSetNNeg(LLVMValueRef NonNegInst, LLVMBool IsNonNeg)
void LLVMSetExact(LLVMValueRef DivOrShrInst, LLVMBool IsExact)
LLVMBasicBlockRef LLVMGetInsertBlock(LLVMBuilderRef Builder)
LLVMValueRef LLVMBuildCleanupPad(LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMValueRef *Args, unsigned NumArgs, const char *Name)
void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr, const char *Name)
void LLVMSetFastMathFlags(LLVMValueRef FPMathInst, LLVMFastMathFlags FMF)
LLVMFastMathFlags LLVMGetFastMathFlags(LLVMValueRef FPMathInst)
LLVMValueRef LLVMBuildNeg(LLVMBuilderRef, LLVMValueRef V, const char *Name)
LLVMBool LLVMGetVolatile(LLVMValueRef MemoryAccessInst)
LLVMValueRef LLVMBuildNUWMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
void LLVMPositionBuilder(LLVMBuilderRef Builder, LLVMBasicBlockRef Block, LLVMValueRef Instr)
void LLVMPositionBuilderAtEnd(LLVMBuilderRef Builder, LLVMBasicBlockRef Block)
LLVMValueRef LLVMBuildInsertElement(LLVMBuilderRef, LLVMValueRef VecVal, LLVMValueRef EltVal, LLVMValueRef Index, const char *Name)
LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB)
void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf)
size_t LLVMGetBufferSize(LLVMMemoryBufferRef MemBuf)
LLVMBool LLVMCreateMemoryBufferWithSTDIN(LLVMMemoryBufferRef *OutMemBuf, char **OutMessage)
LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRange(const char *InputData, size_t InputDataLength, const char *BufferName, LLVMBool RequiresNullTerminator)
LLVMBool LLVMCreateMemoryBufferWithContentsOfFile(const char *Path, LLVMMemoryBufferRef *OutMemBuf, char **OutMessage)
const char * LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf)
LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRangeCopy(const char *InputData, size_t InputDataLength, const char *BufferName)
const char * LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len)
void LLVMSetDataLayout(LLVMModuleRef M, const char *DataLayoutStr)
LLVMValueRef LLVMAddFunction(LLVMModuleRef M, const char *Name, LLVMTypeRef FunctionTy)
LLVMNamedMDNodeRef LLVMGetPreviousNamedMetadata(LLVMNamedMDNodeRef NamedMDNode)
LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name)
void LLVMSetSourceFileName(LLVMModuleRef M, const char *Name, size_t Len)
void LLVMDumpModule(LLVMModuleRef M)
void LLVMAppendModuleInlineAsm(LLVMModuleRef M, const char *Asm, size_t Len)
LLVMValueRef LLVMGetFirstFunction(LLVMModuleRef M)
const char * LLVMGetDebugLocFilename(LLVMValueRef Val, unsigned *Length)
LLVMBool LLVMPrintModuleToFile(LLVMModuleRef M, const char *Filename, char **ErrorMessage)
void LLVMDisposeModule(LLVMModuleRef M)
LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty, const char *AsmString, size_t AsmStringSize, const char *Constraints, size_t ConstraintsSize, LLVMBool HasSideEffects, LLVMBool IsAlignStack, LLVMInlineAsmDialect Dialect, LLVMBool CanThrow)
const char * LLVMGetDebugLocDirectory(LLVMValueRef Val, unsigned *Length)
const char * LLVMGetModuleInlineAsm(LLVMModuleRef M, size_t *Len)
const char * LLVMGetSourceFileName(LLVMModuleRef M, size_t *Len)
const char * LLVMGetNamedMetadataName(LLVMNamedMDNodeRef NamedMD, size_t *NameLen)
LLVMContextRef LLVMGetModuleContext(LLVMModuleRef M)
const char * LLVMGetInlineAsmConstraintString(LLVMValueRef InlineAsmVal, size_t *Len)
LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, LLVMContextRef C)
LLVMMetadataRef LLVMModuleFlagEntriesGetMetadata(LLVMModuleFlagEntry *Entries, unsigned Index)
const char * LLVMModuleFlagEntriesGetKey(LLVMModuleFlagEntry *Entries, unsigned Index, size_t *Len)
LLVMValueRef LLVMGetLastFunction(LLVMModuleRef M)
void LLVMSetTarget(LLVMModuleRef M, const char *Triple)
const char * LLVMGetDataLayoutStr(LLVMModuleRef M)
const char * LLVMGetInlineAsmAsmString(LLVMValueRef InlineAsmVal, size_t *Len)
LLVMModuleFlagBehavior LLVMModuleFlagEntriesGetFlagBehavior(LLVMModuleFlagEntry *Entries, unsigned Index)
unsigned LLVMGetDebugLocColumn(LLVMValueRef Val)
unsigned LLVMGetDebugLocLine(LLVMValueRef Val)
LLVMBool LLVMGetInlineAsmNeedsAlignedStack(LLVMValueRef InlineAsmVal)
LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID)
LLVMModuleFlagEntry * LLVMCopyModuleFlagsMetadata(LLVMModuleRef M, size_t *Len)
void LLVMAddModuleFlag(LLVMModuleRef M, LLVMModuleFlagBehavior Behavior, const char *Key, size_t KeyLen, LLVMMetadataRef Val)
void LLVMSetModuleInlineAsm(LLVMModuleRef M, const char *Asm)
LLVMBool LLVMGetInlineAsmHasSideEffects(LLVMValueRef InlineAsmVal)
void LLVMDisposeModuleFlagsMetadata(LLVMModuleFlagEntry *Entries)
LLVMInlineAsmDialect LLVMGetInlineAsmDialect(LLVMValueRef InlineAsmVal)
unsigned LLVMGetNamedMetadataNumOperands(LLVMModuleRef M, const char *Name)
const char * LLVMGetTarget(LLVMModuleRef M)
LLVMNamedMDNodeRef LLVMGetNextNamedMetadata(LLVMNamedMDNodeRef NamedMDNode)
void LLVMSetModuleInlineAsm2(LLVMModuleRef M, const char *Asm, size_t Len)
LLVMNamedMDNodeRef LLVMGetLastNamedMetadata(LLVMModuleRef M)
LLVMBool LLVMGetInlineAsmCanUnwind(LLVMValueRef InlineAsmVal)
LLVMMetadataRef LLVMGetModuleFlag(LLVMModuleRef M, const char *Key, size_t KeyLen)
LLVMModuleRef LLVMCloneModule(LLVMModuleRef M)
const char * LLVMGetDataLayout(LLVMModuleRef M)
LLVMValueRef LLVMGetNamedFunction(LLVMModuleRef M, const char *Name)
LLVMNamedMDNodeRef LLVMGetNamedMetadata(LLVMModuleRef M, const char *Name, size_t NameLen)
LLVMNamedMDNodeRef LLVMGetOrInsertNamedMetadata(LLVMModuleRef M, const char *Name, size_t NameLen)
LLVMValueRef LLVMGetPreviousFunction(LLVMValueRef Fn)
char * LLVMPrintModuleToString(LLVMModuleRef M)
void LLVMGetNamedMetadataOperands(LLVMModuleRef M, const char *Name, LLVMValueRef *Dest)
LLVMValueRef LLVMGetNextFunction(LLVMValueRef Fn)
LLVMTypeRef LLVMGetInlineAsmFunctionType(LLVMValueRef InlineAsmVal)
void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len)
void LLVMAddNamedMetadataOperand(LLVMModuleRef M, const char *Name, LLVMValueRef Val)
LLVMNamedMDNodeRef LLVMGetFirstNamedMetadata(LLVMModuleRef M)
LLVMModuleProviderRef LLVMCreateModuleProviderForExistingModule(LLVMModuleRef M)
void LLVMDisposeModuleProvider(LLVMModuleProviderRef M)
LLVMValueRef LLVMGetOperandBundleArgAtIndex(LLVMOperandBundleRef Bundle, unsigned Index)
unsigned LLVMGetNumOperandBundleArgs(LLVMOperandBundleRef Bundle)
LLVMOperandBundleRef LLVMCreateOperandBundle(const char *Tag, size_t TagLen, LLVMValueRef *Args, unsigned NumArgs)
void LLVMDisposeOperandBundle(LLVMOperandBundleRef Bundle)
const char * LLVMGetOperandBundleTag(LLVMOperandBundleRef Bundle, size_t *Len)
LLVMBool LLVMRunPassManager(LLVMPassManagerRef PM, LLVMModuleRef M)
LLVMPassManagerRef LLVMCreateFunctionPassManager(LLVMModuleProviderRef MP)
LLVMPassManagerRef LLVMCreatePassManager(void)
void LLVMDisposePassManager(LLVMPassManagerRef PM)
LLVMBool LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM)
LLVMBool LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F)
LLVMBool LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM)
LLVMPassManagerRef LLVMCreateFunctionPassManagerForModule(LLVMModuleRef M)
LLVMBool LLVMIsMultithreaded(void)
LLVMBool LLVMStartMultithreaded(void)
void LLVMStopMultithreaded(void)
LLVMTypeRef LLVMFP128Type(void)
LLVMTypeRef LLVMFP128TypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMDoubleTypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMX86FP80TypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMHalfTypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMBFloatTypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMBFloatType(void)
LLVMTypeRef LLVMFloatTypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMHalfType(void)
LLVMTypeRef LLVMX86FP80Type(void)
LLVMTypeRef LLVMPPCFP128Type(void)
LLVMTypeRef LLVMFloatType(void)
LLVMTypeRef LLVMDoubleType(void)
LLVMTypeRef LLVMPPCFP128TypeInContext(LLVMContextRef C)
LLVMBool LLVMIsFunctionVarArg(LLVMTypeRef FunctionTy)
unsigned LLVMCountParamTypes(LLVMTypeRef FunctionTy)
void LLVMGetParamTypes(LLVMTypeRef FunctionTy, LLVMTypeRef *Dest)
LLVMTypeRef LLVMFunctionType(LLVMTypeRef ReturnType, LLVMTypeRef *ParamTypes, unsigned ParamCount, LLVMBool IsVarArg)
LLVMTypeRef LLVMGetReturnType(LLVMTypeRef FunctionTy)
LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty)
LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty)
char * LLVMPrintTypeToString(LLVMTypeRef Val)
void LLVMDumpType(LLVMTypeRef Val)
LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty)
LLVMTypeRef LLVMInt64Type(void)
LLVMTypeRef LLVMInt64TypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMInt16TypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMIntTypeInContext(LLVMContextRef C, unsigned NumBits)
LLVMTypeRef LLVMInt1TypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMInt32Type(void)
LLVMTypeRef LLVMInt32TypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMInt128TypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMIntType(unsigned NumBits)
LLVMTypeRef LLVMInt8TypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMInt8Type(void)
LLVMTypeRef LLVMInt1Type(void)
LLVMTypeRef LLVMInt128Type(void)
unsigned LLVMGetIntTypeWidth(LLVMTypeRef IntegerTy)
LLVMTypeRef LLVMInt16Type(void)
LLVMTypeRef LLVMX86MMXTypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMVoidType(void)
LLVMTypeRef LLVMX86AMXTypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMMetadataTypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMTokenTypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMX86AMXType(void)
LLVMTypeRef LLVMLabelTypeInContext(LLVMContextRef C)
LLVMTypeRef LLVMTargetExtTypeInContext(LLVMContextRef C, const char *Name, LLVMTypeRef *TypeParams, unsigned TypeParamCount, unsigned *IntParams, unsigned IntParamCount)
LLVMTypeRef LLVMX86MMXType(void)
LLVMTypeRef LLVMLabelType(void)
LLVMTypeRef LLVMVoidTypeInContext(LLVMContextRef C)
unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy)
LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty)
unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy)
uint64_t LLVMGetArrayLength2(LLVMTypeRef ArrayTy)
LLVMTypeRef LLVMPointerType(LLVMTypeRef ElementType, unsigned AddressSpace)
unsigned LLVMGetNumContainedTypes(LLVMTypeRef Tp)
LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount)
LLVMBool LLVMPointerTypeIsOpaque(LLVMTypeRef Ty)
LLVMTypeRef LLVMPointerTypeInContext(LLVMContextRef C, unsigned AddressSpace)
LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount)
LLVMTypeRef LLVMScalableVectorType(LLVMTypeRef ElementType, unsigned ElementCount)
LLVMTypeRef LLVMArrayType2(LLVMTypeRef ElementType, uint64_t ElementCount)
void LLVMGetSubtypes(LLVMTypeRef Tp, LLVMTypeRef *Arr)
unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy)
void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed)
LLVMBool LLVMIsPackedStruct(LLVMTypeRef StructTy)
LLVMTypeRef LLVMStructGetTypeAtIndex(LLVMTypeRef StructTy, unsigned i)
LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed)
const char * LLVMGetStructName(LLVMTypeRef Ty)
void LLVMGetStructElementTypes(LLVMTypeRef StructTy, LLVMTypeRef *Dest)
LLVMBool LLVMIsOpaqueStruct(LLVMTypeRef StructTy)
unsigned LLVMCountStructElementTypes(LLVMTypeRef StructTy)
LLVMTypeRef LLVMStructCreateNamed(LLVMContextRef C, const char *Name)
LLVMBool LLVMIsLiteralStruct(LLVMTypeRef StructTy)
LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed)
unsigned LLVMAttributeIndex
unsigned LLVMFastMathFlags
@ LLVMTailCallKindMustTail
@ LLVMExternalWeakLinkage
@ LLVMLinkerPrivateLinkage
@ LLVMLinkOnceODRAutoHideLinkage
@ LLVMLinkerPrivateWeakLinkage
@ LLVMAvailableExternallyLinkage
@ LLVMScalableVectorTypeKind
@ LLVMDefaultStorageClass
@ LLVMDLLExportStorageClass
@ LLVMDLLImportStorageClass
@ LLVMFastMathAllowReassoc
@ LLVMFastMathNoSignedZeros
@ LLVMFastMathAllowContract
@ LLVMFastMathAllowReciprocal
@ LLVMConstantDataVectorValueKind
@ LLVMConstantIntValueKind
@ LLVMConstantDataArrayValueKind
@ LLVMUndefValueValueKind
@ LLVMConstantVectorValueKind
@ LLVMConstantTokenNoneValueKind
@ LLVMConstantAggregateZeroValueKind
@ LLVMGlobalAliasValueKind
@ LLVMMetadataAsValueValueKind
@ LLVMConstantTargetNoneValueKind
@ LLVMConstantStructValueKind
@ LLVMInstructionValueKind
@ LLVMConstantArrayValueKind
@ LLVMConstantPointerNullValueKind
@ LLVMBasicBlockValueKind
@ LLVMBlockAddressValueKind
@ LLVMConstantExprValueKind
@ LLVMPoisonValueValueKind
@ LLVMGlobalVariableValueKind
@ LLVMGlobalIFuncValueKind
@ LLVMConstantFPValueKind
@ LLVMX86VectorCallCallConv
@ LLVMPreserveAllCallConv
@ LLVMX86ThisCallCallConv
@ LLVMPreserveMostCallConv
@ LLVMMSP430BUILTINCallConv
@ LLVMAMDGPUKERNELCallConv
@ LLVMX86FastcallCallConv
@ LLVMARMAAPCSVFPCallConv
@ LLVMModuleFlagBehaviorRequire
@ LLVMModuleFlagBehaviorWarning
@ LLVMModuleFlagBehaviorOverride
@ LLVMModuleFlagBehaviorAppendUnique
@ LLVMModuleFlagBehaviorAppend
@ LLVMModuleFlagBehaviorError
@ LLVMAttributeReturnIndex
@ LLVMAttributeFunctionIndex
@ LLVMProtectedVisibility
@ LLVMGeneralDynamicTLSModel
@ LLVMLocalDynamicTLSModel
@ LLVMInitialExecTLSModel
@ LLVMAtomicOrderingAcquireRelease
@ LLVMAtomicOrderingRelease
@ LLVMAtomicOrderingAcquire
@ LLVMAtomicOrderingMonotonic
@ LLVMAtomicOrderingSequentiallyConsistent
@ LLVMAtomicOrderingNotAtomic
@ LLVMAtomicOrderingUnordered
@ LLVMInlineAsmDialectATT
@ LLVMInlineAsmDialectIntel
LLVMBasicBlockRef LLVMGetNextBasicBlock(LLVMBasicBlockRef BB)
void LLVMAppendExistingBasicBlock(LLVMValueRef Fn, LLVMBasicBlockRef BB)
void LLVMDeleteBasicBlock(LLVMBasicBlockRef BB)
LLVMBasicBlockRef LLVMGetFirstBasicBlock(LLVMValueRef Fn)
LLVMBasicBlockRef LLVMValueAsBasicBlock(LLVMValueRef Val)
LLVMBasicBlockRef LLVMCreateBasicBlockInContext(LLVMContextRef C, const char *Name)
void LLVMRemoveBasicBlockFromParent(LLVMBasicBlockRef BB)
void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos)
LLVMValueRef LLVMBasicBlockAsValue(LLVMBasicBlockRef BB)
void LLVMInsertExistingBasicBlockAfterInsertBlock(LLVMBuilderRef Builder, LLVMBasicBlockRef BB)
void LLVMGetBasicBlocks(LLVMValueRef Fn, LLVMBasicBlockRef *BasicBlocks)
LLVMBasicBlockRef LLVMAppendBasicBlock(LLVMValueRef Fn, const char *Name)
LLVMValueRef LLVMGetBasicBlockTerminator(LLVMBasicBlockRef BB)
unsigned LLVMCountBasicBlocks(LLVMValueRef Fn)
void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos)
LLVMBasicBlockRef LLVMGetLastBasicBlock(LLVMValueRef Fn)
LLVMBasicBlockRef LLVMAppendBasicBlockInContext(LLVMContextRef C, LLVMValueRef Fn, const char *Name)
LLVMValueRef LLVMGetBasicBlockParent(LLVMBasicBlockRef BB)
LLVMValueRef LLVMGetFirstInstruction(LLVMBasicBlockRef BB)
LLVMValueRef LLVMGetLastInstruction(LLVMBasicBlockRef BB)
LLVMBasicBlockRef LLVMInsertBasicBlockInContext(LLVMContextRef C, LLVMBasicBlockRef BB, const char *Name)
LLVMBasicBlockRef LLVMInsertBasicBlock(LLVMBasicBlockRef InsertBeforeBB, const char *Name)
LLVMBasicBlockRef LLVMGetEntryBasicBlock(LLVMValueRef Fn)
LLVMBool LLVMValueIsBasicBlock(LLVMValueRef Val)
const char * LLVMGetBasicBlockName(LLVMBasicBlockRef BB)
LLVMBasicBlockRef LLVMGetPreviousBasicBlock(LLVMBasicBlockRef BB)
LLVMValueRef LLVMConstStruct(LLVMValueRef *ConstantVals, unsigned Count, LLVMBool Packed)
LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, LLVMValueRef *ConstantVals, unsigned Length)
LLVMValueRef LLVMConstArray2(LLVMTypeRef ElementTy, LLVMValueRef *ConstantVals, uint64_t Length)
LLVMValueRef LLVMConstVector(LLVMValueRef *ScalarConstantVals, unsigned Size)
LLVMValueRef LLVMConstStringInContext(LLVMContextRef C, const char *Str, unsigned Length, LLVMBool DontNullTerminate)
LLVMValueRef LLVMConstNamedStruct(LLVMTypeRef StructTy, LLVMValueRef *ConstantVals, unsigned Count)
LLVMBool LLVMIsConstantString(LLVMValueRef c)
LLVMValueRef LLVMGetAggregateElement(LLVMValueRef C, unsigned Idx)
LLVMValueRef LLVMConstString(const char *Str, unsigned Length, LLVMBool DontNullTerminate)
const char * LLVMGetAsString(LLVMValueRef c, size_t *Length)
LLVMValueRef LLVMConstStructInContext(LLVMContextRef C, LLVMValueRef *ConstantVals, unsigned Count, LLVMBool Packed)
LLVMValueRef LLVMConstPointerCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
LLVMValueRef LLVMConstMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
LLVMValueRef LLVMSizeOf(LLVMTypeRef Ty)
LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
LLVMValueRef LLVMConstNUWSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMConstNUWAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
LLVMValueRef LLVMConstNot(LLVMValueRef ConstantVal)
LLVMValueRef LLVMConstNSWMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMConstExtractElement(LLVMValueRef VectorConstant, LLVMValueRef IndexConstant)
LLVMValueRef LLVMConstInsertElement(LLVMValueRef VectorConstant, LLVMValueRef ElementValueConstant, LLVMValueRef IndexConstant)
LLVMValueRef LLVMConstInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices)
LLVMValueRef LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
LLVMValueRef LLVMConstICmp(LLVMIntPredicate Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMConstNSWAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMAlignOf(LLVMTypeRef Ty)
LLVMValueRef LLVMConstInlineAsm(LLVMTypeRef Ty, const char *AsmString, const char *Constraints, LLVMBool HasSideEffects, LLVMBool IsAlignStack)
LLVMValueRef LLVMConstXor(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType)
LLVMValueRef LLVMConstNSWNeg(LLVMValueRef ConstantVal)
LLVMValueRef LLVMConstNUWMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMConstShl(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMConstFCmp(LLVMRealPredicate Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal)
LLVMValueRef LLVMConstGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices)
LLVMValueRef LLVMConstSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMConstAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
LLVMValueRef LLVMConstShuffleVector(LLVMValueRef VectorAConstant, LLVMValueRef VectorBConstant, LLVMValueRef MaskConstant)
LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal)
LLVMValueRef LLVMBlockAddress(LLVMValueRef F, LLVMBasicBlockRef BB)
LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal)
LLVMValueRef LLVMConstNSWSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
void LLVMGlobalSetMetadata(LLVMValueRef Global, unsigned Kind, LLVMMetadataRef MD)
unsigned LLVMValueMetadataEntriesGetKind(LLVMValueMetadataEntry *Entries, unsigned Index)
void LLVMDisposeValueMetadataEntries(LLVMValueMetadataEntry *Entries)
void LLVMSetVisibility(LLVMValueRef Global, LLVMVisibility Viz)
LLVMDLLStorageClass LLVMGetDLLStorageClass(LLVMValueRef Global)
void LLVMSetAlignment(LLVMValueRef V, unsigned Bytes)
LLVMModuleRef LLVMGetGlobalParent(LLVMValueRef Global)
const char * LLVMGetSection(LLVMValueRef Global)
LLVMTypeRef LLVMGlobalGetValueType(LLVMValueRef Global)
LLVMBool LLVMIsDeclaration(LLVMValueRef Global)
LLVMVisibility LLVMGetVisibility(LLVMValueRef Global)
void LLVMSetDLLStorageClass(LLVMValueRef Global, LLVMDLLStorageClass Class)
LLVMBool LLVMHasUnnamedAddr(LLVMValueRef Global)
LLVMLinkage LLVMGetLinkage(LLVMValueRef Global)
LLVMUnnamedAddr LLVMGetUnnamedAddress(LLVMValueRef Global)
LLVMMetadataRef LLVMValueMetadataEntriesGetMetadata(LLVMValueMetadataEntry *Entries, unsigned Index)
void LLVMSetUnnamedAddress(LLVMValueRef Global, LLVMUnnamedAddr UnnamedAddr)
void LLVMSetLinkage(LLVMValueRef Global, LLVMLinkage Linkage)
void LLVMSetUnnamedAddr(LLVMValueRef Global, LLVMBool HasUnnamedAddr)
void LLVMGlobalClearMetadata(LLVMValueRef Global)
unsigned LLVMGetAlignment(LLVMValueRef V)
void LLVMSetSection(LLVMValueRef Global, const char *Section)
void LLVMGlobalEraseMetadata(LLVMValueRef Global, unsigned Kind)
LLVMValueMetadataEntry * LLVMGlobalCopyAllMetadata(LLVMValueRef Value, size_t *NumEntries)
LLVMBool LLVMIsNull(LLVMValueRef Val)
LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty)
LLVMValueRef LLVMGetPoison(LLVMTypeRef Ty)
LLVMValueRef LLVMConstAllOnes(LLVMTypeRef Ty)
LLVMValueRef LLVMConstPointerNull(LLVMTypeRef Ty)
LLVMValueRef LLVMConstNull(LLVMTypeRef Ty)
LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N, LLVMBool SignExtend)
LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy, unsigned NumWords, const uint64_t Words[])
LLVMValueRef LLVMConstIntOfString(LLVMTypeRef IntTy, const char *Text, uint8_t Radix)
LLVMValueRef LLVMConstRealOfString(LLVMTypeRef RealTy, const char *Text)
LLVMValueRef LLVMConstRealOfStringAndSize(LLVMTypeRef RealTy, const char *Text, unsigned SLen)
double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *losesInfo)
long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal)
unsigned long long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal)
LLVMValueRef LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy, const char *Text, unsigned SLen, uint8_t Radix)
LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N)
void LLVMSetGC(LLVMValueRef Fn, const char *Name)
const char * LLVMGetGC(LLVMValueRef Fn)
void LLVMRemoveEnumAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, unsigned KindID)
unsigned LLVMGetAttributeCountAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx)
LLVMBool LLVMHasPersonalityFn(LLVMValueRef Fn)
unsigned LLVMLookupIntrinsicID(const char *Name, size_t NameLen)
const char * LLVMIntrinsicGetName(unsigned ID, size_t *NameLength)
unsigned LLVMGetFunctionCallConv(LLVMValueRef Fn)
void LLVMRemoveStringAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, const char *K, unsigned KLen)
LLVMAttributeRef LLVMGetStringAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, const char *K, unsigned KLen)
LLVMValueRef LLVMGetPersonalityFn(LLVMValueRef Fn)
void LLVMSetPersonalityFn(LLVMValueRef Fn, LLVMValueRef PersonalityFn)
LLVMBool LLVMIntrinsicIsOverloaded(unsigned ID)
void LLVMAddAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, LLVMAttributeRef A)
void LLVMDeleteFunction(LLVMValueRef Fn)
const char * LLVMIntrinsicCopyOverloadedName2(LLVMModuleRef Mod, unsigned ID, LLVMTypeRef *ParamTypes, size_t ParamCount, size_t *NameLength)
const char * LLVMIntrinsicCopyOverloadedName(unsigned ID, LLVMTypeRef *ParamTypes, size_t ParamCount, size_t *NameLength)
void LLVMGetAttributesAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, LLVMAttributeRef *Attrs)
void LLVMSetFunctionCallConv(LLVMValueRef Fn, unsigned CC)
LLVMValueRef LLVMGetIntrinsicDeclaration(LLVMModuleRef Mod, unsigned ID, LLVMTypeRef *ParamTypes, size_t ParamCount)
LLVMAttributeRef LLVMGetEnumAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, unsigned KindID)
void LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, const char *A, const char *V)
LLVMTypeRef LLVMIntrinsicGetType(LLVMContextRef Ctx, unsigned ID, LLVMTypeRef *ParamTypes, size_t ParamCount)
unsigned LLVMGetIntrinsicID(LLVMValueRef Fn)
unsigned LLVMCountParams(LLVMValueRef Fn)
LLVMValueRef LLVMGetPreviousParam(LLVMValueRef Arg)
LLVMValueRef LLVMGetNextParam(LLVMValueRef Arg)
LLVMValueRef LLVMGetParamParent(LLVMValueRef Inst)
LLVMValueRef LLVMGetFirstParam(LLVMValueRef Fn)
void LLVMSetParamAlignment(LLVMValueRef Arg, unsigned Align)
LLVMValueRef LLVMGetParam(LLVMValueRef Fn, unsigned Index)
LLVMValueRef LLVMGetLastParam(LLVMValueRef Fn)
void LLVMGetParams(LLVMValueRef Fn, LLVMValueRef *Params)
LLVMValueKind LLVMGetValueKind(LLVMValueRef Val)
const char * LLVMGetValueName(LLVMValueRef Val)
LLVMTypeRef LLVMTypeOf(LLVMValueRef Val)
LLVMBool LLVMIsConstant(LLVMValueRef Val)
void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal)
const char * LLVMGetValueName2(LLVMValueRef Val, size_t *Length)
void LLVMSetValueName(LLVMValueRef Val, const char *Name)
#define LLVM_DECLARE_VALUE_CAST(name)
void LLVMDumpValue(LLVMValueRef Val)
LLVMBool LLVMIsUndef(LLVMValueRef Val)
LLVMValueRef LLVMIsAMDNode(LLVMValueRef Val)
LLVMBool LLVMIsPoison(LLVMValueRef Val)
LLVMValueRef LLVMIsAMDString(LLVMValueRef Val)
void LLVMSetValueName2(LLVMValueRef Val, const char *Name, size_t NameLen)
LLVMValueRef LLVMIsAValueAsMetadata(LLVMValueRef Val)
char * LLVMPrintValueToString(LLVMValueRef Val)
void LLVMEraseGlobalIFunc(LLVMValueRef IFunc)
void LLVMRemoveGlobalIFunc(LLVMValueRef IFunc)
LLVMValueRef LLVMGetNextGlobalIFunc(LLVMValueRef IFunc)
LLVMValueRef LLVMGetNamedGlobalIFunc(LLVMModuleRef M, const char *Name, size_t NameLen)
LLVMValueRef LLVMGetLastGlobalIFunc(LLVMModuleRef M)
LLVMValueRef LLVMAddGlobalIFunc(LLVMModuleRef M, const char *Name, size_t NameLen, LLVMTypeRef Ty, unsigned AddrSpace, LLVMValueRef Resolver)
void LLVMSetGlobalIFuncResolver(LLVMValueRef IFunc, LLVMValueRef Resolver)
LLVMValueRef LLVMGetFirstGlobalIFunc(LLVMModuleRef M)
LLVMValueRef LLVMGetGlobalIFuncResolver(LLVMValueRef IFunc)
LLVMValueRef LLVMGetPreviousGlobalIFunc(LLVMValueRef IFunc)
LLVMTypeRef LLVMGetAllocatedType(LLVMValueRef Alloca)
LLVMOperandBundleRef LLVMGetOperandBundleAtIndex(LLVMValueRef C, unsigned Index)
LLVMValueRef LLVMGetCalledValue(LLVMValueRef Instr)
void LLVMGetCallSiteAttributes(LLVMValueRef C, LLVMAttributeIndex Idx, LLVMAttributeRef *Attrs)
unsigned LLVMGetNumArgOperands(LLVMValueRef Instr)
void LLVMSetNormalDest(LLVMValueRef InvokeInst, LLVMBasicBlockRef B)
unsigned LLVMGetInstructionCallConv(LLVMValueRef Instr)
LLVMTypeRef LLVMGetCalledFunctionType(LLVMValueRef C)
unsigned LLVMGetCallSiteAttributeCount(LLVMValueRef C, LLVMAttributeIndex Idx)
void LLVMAddCallSiteAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, LLVMAttributeRef A)
unsigned LLVMGetNumOperandBundles(LLVMValueRef C)
void LLVMSetInstructionCallConv(LLVMValueRef Instr, unsigned CC)
LLVMAttributeRef LLVMGetCallSiteEnumAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, unsigned KindID)
LLVMBasicBlockRef LLVMGetNormalDest(LLVMValueRef InvokeInst)
void LLVMRemoveCallSiteEnumAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, unsigned KindID)
void LLVMSetUnwindDest(LLVMValueRef InvokeInst, LLVMBasicBlockRef B)
void LLVMSetTailCall(LLVMValueRef CallInst, LLVMBool IsTailCall)
LLVMBool LLVMIsTailCall(LLVMValueRef CallInst)
void LLVMSetInstrParamAlignment(LLVMValueRef Instr, LLVMAttributeIndex Idx, unsigned Align)
void LLVMRemoveCallSiteStringAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, const char *K, unsigned KLen)
LLVMTailCallKind LLVMGetTailCallKind(LLVMValueRef CallInst)
void LLVMSetTailCallKind(LLVMValueRef CallInst, LLVMTailCallKind kind)
LLVMAttributeRef LLVMGetCallSiteStringAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, const char *K, unsigned KLen)
LLVMBasicBlockRef LLVMGetUnwindDest(LLVMValueRef InvokeInst)
LLVMTypeRef LLVMGetGEPSourceElementType(LLVMValueRef GEP)
LLVMBool LLVMIsInBounds(LLVMValueRef GEP)
void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool InBounds)
LLVMValueRef LLVMInstructionClone(LLVMValueRef Inst)
LLVMValueRef LLVMGetNextInstruction(LLVMValueRef Inst)
void LLVMDeleteInstruction(LLVMValueRef Inst)
LLVMValueRef LLVMIsATerminatorInst(LLVMValueRef Inst)
LLVMOpcode LLVMGetInstructionOpcode(LLVMValueRef Inst)
LLVMValueMetadataEntry * LLVMInstructionGetAllMetadataOtherThanDebugLoc(LLVMValueRef Instr, size_t *NumEntries)
LLVMRealPredicate LLVMGetFCmpPredicate(LLVMValueRef Inst)
int LLVMHasMetadata(LLVMValueRef Val)
void LLVMInstructionEraseFromParent(LLVMValueRef Inst)
void LLVMInstructionRemoveFromParent(LLVMValueRef Inst)
LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID)
LLVMIntPredicate LLVMGetICmpPredicate(LLVMValueRef Inst)
void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node)
LLVMBasicBlockRef LLVMGetInstructionParent(LLVMValueRef Inst)
LLVMValueRef LLVMGetPreviousInstruction(LLVMValueRef Inst)
const unsigned * LLVMGetIndices(LLVMValueRef Inst)
unsigned LLVMGetNumIndices(LLVMValueRef Inst)
void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, LLVMBasicBlockRef *IncomingBlocks, unsigned Count)
LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index)
unsigned LLVMCountIncoming(LLVMValueRef PhiNode)
LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index)
unsigned LLVMGetNumSuccessors(LLVMValueRef Term)
LLVMBasicBlockRef LLVMGetSwitchDefaultDest(LLVMValueRef SwitchInstr)
void LLVMSetSuccessor(LLVMValueRef Term, unsigned i, LLVMBasicBlockRef block)
void LLVMSetCondition(LLVMValueRef Branch, LLVMValueRef Cond)
LLVMValueRef LLVMGetCondition(LLVMValueRef Branch)
LLVMBool LLVMIsConditional(LLVMValueRef Branch)
LLVMBasicBlockRef LLVMGetSuccessor(LLVMValueRef Term, unsigned i)
int LLVMGetNumOperands(LLVMValueRef Val)
void LLVMSetOperand(LLVMValueRef User, unsigned Index, LLVMValueRef Val)
LLVMUseRef LLVMGetOperandUse(LLVMValueRef Val, unsigned Index)
LLVMValueRef LLVMGetOperand(LLVMValueRef Val, unsigned Index)
LLVMValueRef LLVMGetUser(LLVMUseRef U)
LLVMUseRef LLVMGetFirstUse(LLVMValueRef Val)
LLVMUseRef LLVMGetNextUse(LLVMUseRef U)
LLVMValueRef LLVMGetUsedValue(LLVMUseRef U)
#define LLVM_FOR_EACH_VALUE_SUBCLASS(macro)
struct LLVMOpaqueValue * LLVMValueRef
struct LLVMOpaqueAttributeRef * LLVMAttributeRef
struct LLVMOpaqueModuleFlagEntry LLVMModuleFlagEntry
struct LLVMOpaqueNamedMDNode * LLVMNamedMDNodeRef
struct LLVMOpaquePassManager * LLVMPassManagerRef
struct LLVMOpaqueDiagnosticInfo * LLVMDiagnosticInfoRef
struct LLVMOpaqueValueMetadataEntry LLVMValueMetadataEntry
struct LLVMOpaqueMemoryBuffer * LLVMMemoryBufferRef
struct LLVMOpaqueContext * LLVMContextRef
struct LLVMOpaqueBuilder * LLVMBuilderRef
struct LLVMOpaqueUse * LLVMUseRef
struct LLVMOpaqueBasicBlock * LLVMBasicBlockRef
struct LLVMOpaqueType * LLVMTypeRef
struct LLVMOpaqueMetadata * LLVMMetadataRef
struct LLVMOpaqueModule * LLVMModuleRef
struct LLVMOpaqueModuleProvider * LLVMModuleProviderRef
struct LLVMOpaqueOperandBundle * LLVMOperandBundleRef
void LLVMAliasSetAliasee(LLVMValueRef Alias, LLVMValueRef Aliasee)
LLVMValueRef LLVMGetLastGlobalAlias(LLVMModuleRef M)
LLVMValueRef LLVMGetNextGlobalAlias(LLVMValueRef GA)
LLVMValueRef LLVMAliasGetAliasee(LLVMValueRef Alias)
LLVMValueRef LLVMGetPreviousGlobalAlias(LLVMValueRef GA)
LLVMValueRef LLVMAddAlias2(LLVMModuleRef M, LLVMTypeRef ValueTy, unsigned AddrSpace, LLVMValueRef Aliasee, const char *Name)
LLVMValueRef LLVMGetFirstGlobalAlias(LLVMModuleRef M)
LLVMValueRef LLVMGetNamedGlobalAlias(LLVMModuleRef M, const char *Name, size_t NameLen)
void LLVMSetGlobalConstant(LLVMValueRef GlobalVar, LLVMBool IsConstant)
void LLVMSetThreadLocalMode(LLVMValueRef GlobalVar, LLVMThreadLocalMode Mode)
LLVMThreadLocalMode LLVMGetThreadLocalMode(LLVMValueRef GlobalVar)
LLVMValueRef LLVMGetFirstGlobal(LLVMModuleRef M)
LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar)
LLVMBool LLVMIsExternallyInitialized(LLVMValueRef GlobalVar)
LLVMValueRef LLVMAddGlobal(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name)
LLVMValueRef LLVMGetLastGlobal(LLVMModuleRef M)
void LLVMSetExternallyInitialized(LLVMValueRef GlobalVar, LLVMBool IsExtInit)
LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar)
void LLVMSetThreadLocal(LLVMValueRef GlobalVar, LLVMBool IsThreadLocal)
LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar)
void LLVMDeleteGlobal(LLVMValueRef GlobalVar)
LLVMBool LLVMIsThreadLocal(LLVMValueRef GlobalVar)
LLVMBool LLVMIsGlobalConstant(LLVMValueRef GlobalVar)
LLVMValueRef LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name, unsigned AddressSpace)
void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal)
LLVMValueRef LLVMGetNamedGlobal(LLVMModuleRef M, const char *Name)