LLVM  15.0.0git
Functions
Constant Expressions

Functions in this group correspond to APIs on llvm::ConstantExpr. More...

Collaboration diagram for Constant Expressions:

Functions

LLVMOpcode LLVMGetConstOpcode (LLVMValueRef ConstantVal)
 
LLVMValueRef LLVMAlignOf (LLVMTypeRef Ty)
 
LLVMValueRef LLVMSizeOf (LLVMTypeRef Ty)
 
LLVMValueRef LLVMConstNeg (LLVMValueRef ConstantVal)
 
LLVMValueRef LLVMConstNSWNeg (LLVMValueRef ConstantVal)
 
LLVMValueRef LLVMConstNUWNeg (LLVMValueRef ConstantVal)
 
LLVMValueRef LLVMConstFNeg (LLVMValueRef ConstantVal)
 
LLVMValueRef LLVMConstNot (LLVMValueRef ConstantVal)
 
LLVMValueRef LLVMConstAdd (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstNSWAdd (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstNUWAdd (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstFAdd (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstSub (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstNSWSub (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstNUWSub (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstFSub (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstMul (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstNSWMul (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstNUWMul (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstFMul (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstUDiv (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstExactUDiv (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstSDiv (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstExactSDiv (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstFDiv (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstURem (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstSRem (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstFRem (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstAnd (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstOr (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstXor (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstICmp (LLVMIntPredicate Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstFCmp (LLVMRealPredicate Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstShl (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstLShr (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
LLVMValueRef LLVMConstAShr (LLVMValueRef LHSConstant, LLVMValueRef RHSConstant)
 
 LLVM_ATTRIBUTE_C_DEPRECATED (LLVMValueRef LLVMConstGEP(LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices), "Use LLVMConstGEP2 instead to support opaque pointers")
 
LLVMValueRef LLVMConstGEP2 (LLVMTypeRef Ty, LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices)
 
 LLVM_ATTRIBUTE_C_DEPRECATED (LLVMValueRef LLVMConstInBoundsGEP(LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices), "Use LLVMConstInBoundsGEP2 instead to support opaque pointers")
 
LLVMValueRef LLVMConstInBoundsGEP2 (LLVMTypeRef Ty, LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices)
 
LLVMValueRef LLVMConstTrunc (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstSExt (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstZExt (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstFPTrunc (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstFPExt (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstUIToFP (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstSIToFP (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstFPToUI (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstFPToSI (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstPtrToInt (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstIntToPtr (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstBitCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstAddrSpaceCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstZExtOrBitCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstSExtOrBitCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstTruncOrBitCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstPointerCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstIntCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType, LLVMBool isSigned)
 
LLVMValueRef LLVMConstFPCast (LLVMValueRef ConstantVal, LLVMTypeRef ToType)
 
LLVMValueRef LLVMConstSelect (LLVMValueRef ConstantCondition, LLVMValueRef ConstantIfTrue, LLVMValueRef ConstantIfFalse)
 
LLVMValueRef LLVMConstExtractElement (LLVMValueRef VectorConstant, LLVMValueRef IndexConstant)
 
LLVMValueRef LLVMConstInsertElement (LLVMValueRef VectorConstant, LLVMValueRef ElementValueConstant, LLVMValueRef IndexConstant)
 
LLVMValueRef LLVMConstShuffleVector (LLVMValueRef VectorAConstant, LLVMValueRef VectorBConstant, LLVMValueRef MaskConstant)
 
LLVMValueRef LLVMConstExtractValue (LLVMValueRef AggConstant, unsigned *IdxList, unsigned NumIdx)
 
LLVMValueRef LLVMConstInsertValue (LLVMValueRef AggConstant, LLVMValueRef ElementValueConstant, unsigned *IdxList, unsigned NumIdx)
 
LLVMValueRef LLVMBlockAddress (LLVMValueRef F, LLVMBasicBlockRef BB)
 
LLVMValueRef LLVMConstInlineAsm (LLVMTypeRef Ty, const char *AsmString, const char *Constraints, LLVMBool HasSideEffects, LLVMBool IsAlignStack)
 Deprecated: Use LLVMGetInlineAsm instead. More...
 

Detailed Description

Functions in this group correspond to APIs on llvm::ConstantExpr.

See also
llvm::ConstantExpr.

Function Documentation

◆ LLVM_ATTRIBUTE_C_DEPRECATED() [1/2]

LLVM_ATTRIBUTE_C_DEPRECATED ( LLVMValueRef   LLVMConstGEPLLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices,
"Use LLVMConstGEP2 instead to support opaque pointers"   
)

◆ LLVM_ATTRIBUTE_C_DEPRECATED() [2/2]

LLVM_ATTRIBUTE_C_DEPRECATED ( LLVMValueRef   LLVMConstInBoundsGEPLLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices,
"Use LLVMConstInBoundsGEP2 instead to support opaque pointers"   
)

◆ LLVMAlignOf()

LLVMValueRef LLVMAlignOf ( LLVMTypeRef  Ty)

Definition at line 1524 of file Core.cpp.

References llvm::ConstantExpr::getAlignOf(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBlockAddress()

LLVMValueRef LLVMBlockAddress ( LLVMValueRef  F,
LLVMBasicBlockRef  BB 
)

Definition at line 1896 of file Core.cpp.

References BB, F, llvm::BlockAddress::get(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstAdd()

LLVMValueRef LLVMConstAdd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1553 of file Core.cpp.

References llvm::ConstantExpr::getAdd(), and llvm::wrap().

◆ LLVMConstAddrSpaceCast()

LLVMValueRef LLVMConstAddrSpaceCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1801 of file Core.cpp.

References llvm::ConstantExpr::getAddrSpaceCast(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstAnd()

LLVMValueRef LLVMConstAnd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1661 of file Core.cpp.

References llvm::ConstantExpr::getAnd(), and llvm::wrap().

◆ LLVMConstAShr()

LLVMValueRef LLVMConstAShr ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1700 of file Core.cpp.

References llvm::ConstantExpr::getAShr(), and llvm::wrap().

◆ LLVMConstBitCast()

LLVMValueRef LLVMConstBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1796 of file Core.cpp.

References llvm::ConstantExpr::getBitCast(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstExactSDiv()

LLVMValueRef LLVMConstExactSDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1635 of file Core.cpp.

References llvm::ConstantExpr::getExactSDiv(), and llvm::wrap().

◆ LLVMConstExactUDiv()

LLVMValueRef LLVMConstExactUDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1624 of file Core.cpp.

References llvm::ConstantExpr::getExactUDiv(), and llvm::wrap().

◆ LLVMConstExtractElement()

LLVMValueRef LLVMConstExtractElement ( LLVMValueRef  VectorConstant,
LLVMValueRef  IndexConstant 
)

Definition at line 1850 of file Core.cpp.

References llvm::ConstantExpr::getExtractElement(), and llvm::wrap().

◆ LLVMConstExtractValue()

LLVMValueRef LLVMConstExtractValue ( LLVMValueRef  AggConstant,
unsigned *  IdxList,
unsigned  NumIdx 
)

◆ LLVMConstFAdd()

LLVMValueRef LLVMConstFAdd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1570 of file Core.cpp.

References llvm::ConstantExpr::getFAdd(), and llvm::wrap().

◆ LLVMConstFCmp()

LLVMValueRef LLVMConstFCmp ( LLVMRealPredicate  Predicate,
LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1683 of file Core.cpp.

References llvm::ConstantExpr::getFCmp(), and llvm::wrap().

◆ LLVMConstFDiv()

LLVMValueRef LLVMConstFDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1641 of file Core.cpp.

References llvm::ConstantExpr::getFDiv(), and llvm::wrap().

◆ LLVMConstFMul()

LLVMValueRef LLVMConstFMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1614 of file Core.cpp.

References llvm::ConstantExpr::getFMul(), and llvm::wrap().

◆ LLVMConstFNeg()

LLVMValueRef LLVMConstFNeg ( LLVMValueRef  ConstantVal)

Definition at line 1545 of file Core.cpp.

References llvm::ConstantExpr::getFNeg(), and llvm::wrap().

◆ LLVMConstFPCast()

LLVMValueRef LLVMConstFPCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1837 of file Core.cpp.

References llvm::ConstantExpr::getFPCast(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstFPExt()

LLVMValueRef LLVMConstFPExt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1761 of file Core.cpp.

References llvm::ConstantExpr::getFPExtend(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstFPToSI()

LLVMValueRef LLVMConstFPToSI ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1781 of file Core.cpp.

References llvm::ConstantExpr::getFPToSI(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstFPToUI()

LLVMValueRef LLVMConstFPToUI ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1776 of file Core.cpp.

References llvm::ConstantExpr::getFPToUI(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstFPTrunc()

LLVMValueRef LLVMConstFPTrunc ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1756 of file Core.cpp.

References llvm::ConstantExpr::getFPTrunc(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstFRem()

LLVMValueRef LLVMConstFRem ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1656 of file Core.cpp.

References llvm::ConstantExpr::getFRem(), and llvm::wrap().

◆ LLVMConstFSub()

LLVMValueRef LLVMConstFSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1592 of file Core.cpp.

References llvm::ConstantExpr::getFSub(), and llvm::wrap().

◆ LLVMConstGEP2()

LLVMValueRef LLVMConstGEP2 ( LLVMTypeRef  Ty,
LLVMValueRef  ConstantVal,
LLVMValueRef ConstantIndices,
unsigned  NumIndices 
)

Definition at line 1714 of file Core.cpp.

References llvm::ConstantExpr::getGetElementPtr(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstICmp()

LLVMValueRef LLVMConstICmp ( LLVMIntPredicate  Predicate,
LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1676 of file Core.cpp.

References llvm::ConstantExpr::getICmp(), and llvm::wrap().

◆ LLVMConstInBoundsGEP2()

LLVMValueRef LLVMConstInBoundsGEP2 ( LLVMTypeRef  Ty,
LLVMValueRef  ConstantVal,
LLVMValueRef ConstantIndices,
unsigned  NumIndices 
)

◆ LLVMConstInlineAsm()

LLVMValueRef LLVMConstInlineAsm ( LLVMTypeRef  Ty,
const char *  AsmString,
const char *  Constraints,
LLVMBool  HasSideEffects,
LLVMBool  IsAlignStack 
)

Deprecated: Use LLVMGetInlineAsm instead.

Definition at line 1888 of file Core.cpp.

References llvm::InlineAsm::get(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstInsertElement()

LLVMValueRef LLVMConstInsertElement ( LLVMValueRef  VectorConstant,
LLVMValueRef  ElementValueConstant,
LLVMValueRef  IndexConstant 
)

Definition at line 1856 of file Core.cpp.

References llvm::ConstantExpr::getInsertElement(), and llvm::wrap().

◆ LLVMConstInsertValue()

LLVMValueRef LLVMConstInsertValue ( LLVMValueRef  AggConstant,
LLVMValueRef  ElementValueConstant,
unsigned *  IdxList,
unsigned  NumIdx 
)

◆ LLVMConstIntCast()

LLVMValueRef LLVMConstIntCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType,
LLVMBool  isSigned 
)

Definition at line 1831 of file Core.cpp.

References llvm::ConstantExpr::getIntegerCast(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstIntToPtr()

LLVMValueRef LLVMConstIntToPtr ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1791 of file Core.cpp.

References llvm::ConstantExpr::getIntToPtr(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstLShr()

LLVMValueRef LLVMConstLShr ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1695 of file Core.cpp.

References llvm::ConstantExpr::getLShr(), and llvm::wrap().

◆ LLVMConstMul()

LLVMValueRef LLVMConstMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1597 of file Core.cpp.

References llvm::ConstantExpr::getMul(), and llvm::wrap().

◆ LLVMConstNeg()

LLVMValueRef LLVMConstNeg ( LLVMValueRef  ConstantVal)

Definition at line 1532 of file Core.cpp.

References llvm::ConstantExpr::getNeg(), and llvm::wrap().

◆ LLVMConstNot()

LLVMValueRef LLVMConstNot ( LLVMValueRef  ConstantVal)

Definition at line 1549 of file Core.cpp.

References llvm::ConstantExpr::getNot(), and llvm::wrap().

◆ LLVMConstNSWAdd()

LLVMValueRef LLVMConstNSWAdd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1558 of file Core.cpp.

References llvm::ConstantExpr::getNSWAdd(), and llvm::wrap().

◆ LLVMConstNSWMul()

LLVMValueRef LLVMConstNSWMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1602 of file Core.cpp.

References llvm::ConstantExpr::getNSWMul(), and llvm::wrap().

◆ LLVMConstNSWNeg()

LLVMValueRef LLVMConstNSWNeg ( LLVMValueRef  ConstantVal)

Definition at line 1536 of file Core.cpp.

References llvm::ConstantExpr::getNSWNeg(), and llvm::wrap().

◆ LLVMConstNSWSub()

LLVMValueRef LLVMConstNSWSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1580 of file Core.cpp.

References llvm::ConstantExpr::getNSWSub(), and llvm::wrap().

◆ LLVMConstNUWAdd()

LLVMValueRef LLVMConstNUWAdd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1564 of file Core.cpp.

References llvm::ConstantExpr::getNUWAdd(), and llvm::wrap().

◆ LLVMConstNUWMul()

LLVMValueRef LLVMConstNUWMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1608 of file Core.cpp.

References llvm::ConstantExpr::getNUWMul(), and llvm::wrap().

◆ LLVMConstNUWNeg()

LLVMValueRef LLVMConstNUWNeg ( LLVMValueRef  ConstantVal)

Definition at line 1540 of file Core.cpp.

References llvm::ConstantExpr::getNUWNeg(), and llvm::wrap().

◆ LLVMConstNUWSub()

LLVMValueRef LLVMConstNUWSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1586 of file Core.cpp.

References llvm::ConstantExpr::getNUWSub(), and llvm::wrap().

◆ LLVMConstOr()

LLVMValueRef LLVMConstOr ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1666 of file Core.cpp.

References llvm::ConstantExpr::getOr(), and llvm::wrap().

◆ LLVMConstPointerCast()

LLVMValueRef LLVMConstPointerCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1825 of file Core.cpp.

References llvm::ConstantExpr::getPointerCast(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstPtrToInt()

LLVMValueRef LLVMConstPtrToInt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1786 of file Core.cpp.

References llvm::ConstantExpr::getPtrToInt(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstSDiv()

LLVMValueRef LLVMConstSDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1630 of file Core.cpp.

References llvm::ConstantExpr::getSDiv(), and llvm::wrap().

◆ LLVMConstSelect()

LLVMValueRef LLVMConstSelect ( LLVMValueRef  ConstantCondition,
LLVMValueRef  ConstantIfTrue,
LLVMValueRef  ConstantIfFalse 
)

Definition at line 1842 of file Core.cpp.

References llvm::ConstantExpr::getSelect(), and llvm::wrap().

◆ LLVMConstSExt()

LLVMValueRef LLVMConstSExt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1746 of file Core.cpp.

References llvm::ConstantExpr::getSExt(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstSExtOrBitCast()

LLVMValueRef LLVMConstSExtOrBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1813 of file Core.cpp.

References llvm::ConstantExpr::getSExtOrBitCast(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstShl()

LLVMValueRef LLVMConstShl ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1690 of file Core.cpp.

References llvm::ConstantExpr::getShl(), and llvm::wrap().

◆ LLVMConstShuffleVector()

LLVMValueRef LLVMConstShuffleVector ( LLVMValueRef  VectorAConstant,
LLVMValueRef  VectorBConstant,
LLVMValueRef  MaskConstant 
)

◆ LLVMConstSIToFP()

LLVMValueRef LLVMConstSIToFP ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1771 of file Core.cpp.

References llvm::ConstantExpr::getSIToFP(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstSRem()

LLVMValueRef LLVMConstSRem ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1651 of file Core.cpp.

References llvm::ConstantExpr::getSRem(), and llvm::wrap().

◆ LLVMConstSub()

LLVMValueRef LLVMConstSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1575 of file Core.cpp.

References llvm::ConstantExpr::getSub(), and llvm::wrap().

◆ LLVMConstTrunc()

LLVMValueRef LLVMConstTrunc ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1741 of file Core.cpp.

References llvm::ConstantExpr::getTrunc(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstTruncOrBitCast()

LLVMValueRef LLVMConstTruncOrBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1819 of file Core.cpp.

References llvm::ConstantExpr::getTruncOrBitCast(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstUDiv()

LLVMValueRef LLVMConstUDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1619 of file Core.cpp.

References llvm::ConstantExpr::getUDiv(), and llvm::wrap().

◆ LLVMConstUIToFP()

LLVMValueRef LLVMConstUIToFP ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1766 of file Core.cpp.

References llvm::ConstantExpr::getUIToFP(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstURem()

LLVMValueRef LLVMConstURem ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1646 of file Core.cpp.

References llvm::ConstantExpr::getURem(), and llvm::wrap().

◆ LLVMConstXor()

LLVMValueRef LLVMConstXor ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1671 of file Core.cpp.

References llvm::ConstantExpr::getXor(), and llvm::wrap().

◆ LLVMConstZExt()

LLVMValueRef LLVMConstZExt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1751 of file Core.cpp.

References llvm::ConstantExpr::getZExt(), llvm::unwrap(), and llvm::wrap().

◆ LLVMConstZExtOrBitCast()

LLVMValueRef LLVMConstZExtOrBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1807 of file Core.cpp.

References llvm::ConstantExpr::getZExtOrBitCast(), llvm::unwrap(), and llvm::wrap().

◆ LLVMGetConstOpcode()

LLVMOpcode LLVMGetConstOpcode ( LLVMValueRef  ConstantVal)

Definition at line 1520 of file Core.cpp.

References getOpcode(), and map_to_llvmopcode().

◆ LLVMSizeOf()

LLVMValueRef LLVMSizeOf ( LLVMTypeRef  Ty)

Definition at line 1528 of file Core.cpp.

References llvm::ConstantExpr::getSizeOf(), llvm::unwrap(), and llvm::wrap().