LLVM  8.0.1
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)
 
LLVMValueRef LLVMConstGEP (LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices)
 
LLVMValueRef LLVMConstGEP2 (LLVMTypeRef Ty, LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices)
 
LLVMValueRef LLVMConstInBoundsGEP (LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices)
 
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

◆ LLVMAlignOf()

LLVMValueRef LLVMAlignOf ( LLVMTypeRef  Ty)

Definition at line 1435 of file Core.cpp.

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

◆ LLVMBlockAddress()

LLVMValueRef LLVMBlockAddress ( LLVMValueRef  F,
LLVMBasicBlockRef  BB 
)

Definition at line 1790 of file Core.cpp.

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

◆ LLVMConstAdd()

LLVMValueRef LLVMConstAdd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1464 of file Core.cpp.

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

◆ LLVMConstAddrSpaceCast()

LLVMValueRef LLVMConstAddrSpaceCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1697 of file Core.cpp.

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

◆ LLVMConstAnd()

LLVMValueRef LLVMConstAnd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1572 of file Core.cpp.

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

◆ LLVMConstAShr()

LLVMValueRef LLVMConstAShr ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1611 of file Core.cpp.

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

◆ LLVMConstBitCast()

LLVMValueRef LLVMConstBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1692 of file Core.cpp.

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

◆ LLVMConstExactSDiv()

LLVMValueRef LLVMConstExactSDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1546 of file Core.cpp.

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

◆ LLVMConstExactUDiv()

LLVMValueRef LLVMConstExactUDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1535 of file Core.cpp.

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

◆ LLVMConstExtractElement()

LLVMValueRef LLVMConstExtractElement ( LLVMValueRef  VectorConstant,
LLVMValueRef  IndexConstant 
)

Definition at line 1746 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 1481 of file Core.cpp.

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

◆ LLVMConstFCmp()

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

Definition at line 1594 of file Core.cpp.

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

◆ LLVMConstFDiv()

LLVMValueRef LLVMConstFDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1552 of file Core.cpp.

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

◆ LLVMConstFMul()

LLVMValueRef LLVMConstFMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1525 of file Core.cpp.

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

◆ LLVMConstFNeg()

LLVMValueRef LLVMConstFNeg ( LLVMValueRef  ConstantVal)

Definition at line 1456 of file Core.cpp.

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

◆ LLVMConstFPCast()

LLVMValueRef LLVMConstFPCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1733 of file Core.cpp.

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

◆ LLVMConstFPExt()

LLVMValueRef LLVMConstFPExt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1657 of file Core.cpp.

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

◆ LLVMConstFPToSI()

LLVMValueRef LLVMConstFPToSI ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1677 of file Core.cpp.

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

◆ LLVMConstFPToUI()

LLVMValueRef LLVMConstFPToUI ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1672 of file Core.cpp.

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

◆ LLVMConstFPTrunc()

LLVMValueRef LLVMConstFPTrunc ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1652 of file Core.cpp.

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

◆ LLVMConstFRem()

LLVMValueRef LLVMConstFRem ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1567 of file Core.cpp.

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

◆ LLVMConstFSub()

LLVMValueRef LLVMConstFSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1503 of file Core.cpp.

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

◆ LLVMConstGEP()

LLVMValueRef LLVMConstGEP ( LLVMValueRef  ConstantVal,
LLVMValueRef ConstantIndices,
unsigned  NumIndices 
)

◆ LLVMConstGEP2()

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

◆ LLVMConstICmp()

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

Definition at line 1587 of file Core.cpp.

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

◆ LLVMConstInBoundsGEP()

LLVMValueRef LLVMConstInBoundsGEP ( LLVMValueRef  ConstantVal,
LLVMValueRef ConstantIndices,
unsigned  NumIndices 
)

◆ 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 1782 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 1752 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 1727 of file Core.cpp.

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

◆ LLVMConstIntToPtr()

LLVMValueRef LLVMConstIntToPtr ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1687 of file Core.cpp.

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

◆ LLVMConstLShr()

LLVMValueRef LLVMConstLShr ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1606 of file Core.cpp.

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

◆ LLVMConstMul()

LLVMValueRef LLVMConstMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1508 of file Core.cpp.

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

◆ LLVMConstNeg()

LLVMValueRef LLVMConstNeg ( LLVMValueRef  ConstantVal)

Definition at line 1443 of file Core.cpp.

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

◆ LLVMConstNot()

LLVMValueRef LLVMConstNot ( LLVMValueRef  ConstantVal)

Definition at line 1460 of file Core.cpp.

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

◆ LLVMConstNSWAdd()

LLVMValueRef LLVMConstNSWAdd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1469 of file Core.cpp.

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

◆ LLVMConstNSWMul()

LLVMValueRef LLVMConstNSWMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1513 of file Core.cpp.

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

◆ LLVMConstNSWNeg()

LLVMValueRef LLVMConstNSWNeg ( LLVMValueRef  ConstantVal)

Definition at line 1447 of file Core.cpp.

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

◆ LLVMConstNSWSub()

LLVMValueRef LLVMConstNSWSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1491 of file Core.cpp.

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

◆ LLVMConstNUWAdd()

LLVMValueRef LLVMConstNUWAdd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1475 of file Core.cpp.

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

◆ LLVMConstNUWMul()

LLVMValueRef LLVMConstNUWMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1519 of file Core.cpp.

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

◆ LLVMConstNUWNeg()

LLVMValueRef LLVMConstNUWNeg ( LLVMValueRef  ConstantVal)

Definition at line 1451 of file Core.cpp.

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

◆ LLVMConstNUWSub()

LLVMValueRef LLVMConstNUWSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1497 of file Core.cpp.

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

◆ LLVMConstOr()

LLVMValueRef LLVMConstOr ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1577 of file Core.cpp.

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

◆ LLVMConstPointerCast()

LLVMValueRef LLVMConstPointerCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1721 of file Core.cpp.

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

◆ LLVMConstPtrToInt()

LLVMValueRef LLVMConstPtrToInt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1682 of file Core.cpp.

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

◆ LLVMConstSDiv()

LLVMValueRef LLVMConstSDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1541 of file Core.cpp.

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

◆ LLVMConstSelect()

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

Definition at line 1738 of file Core.cpp.

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

◆ LLVMConstSExt()

LLVMValueRef LLVMConstSExt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1642 of file Core.cpp.

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

◆ LLVMConstSExtOrBitCast()

LLVMValueRef LLVMConstSExtOrBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1709 of file Core.cpp.

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

◆ LLVMConstShl()

LLVMValueRef LLVMConstShl ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1601 of file Core.cpp.

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

◆ LLVMConstShuffleVector()

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

Definition at line 1760 of file Core.cpp.

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

◆ LLVMConstSIToFP()

LLVMValueRef LLVMConstSIToFP ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1667 of file Core.cpp.

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

◆ LLVMConstSRem()

LLVMValueRef LLVMConstSRem ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1562 of file Core.cpp.

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

◆ LLVMConstSub()

LLVMValueRef LLVMConstSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1486 of file Core.cpp.

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

◆ LLVMConstTrunc()

LLVMValueRef LLVMConstTrunc ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1637 of file Core.cpp.

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

◆ LLVMConstTruncOrBitCast()

LLVMValueRef LLVMConstTruncOrBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1715 of file Core.cpp.

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

◆ LLVMConstUDiv()

LLVMValueRef LLVMConstUDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1530 of file Core.cpp.

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

◆ LLVMConstUIToFP()

LLVMValueRef LLVMConstUIToFP ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1662 of file Core.cpp.

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

◆ LLVMConstURem()

LLVMValueRef LLVMConstURem ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1557 of file Core.cpp.

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

◆ LLVMConstXor()

LLVMValueRef LLVMConstXor ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1582 of file Core.cpp.

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

◆ LLVMConstZExt()

LLVMValueRef LLVMConstZExt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1647 of file Core.cpp.

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

◆ LLVMConstZExtOrBitCast()

LLVMValueRef LLVMConstZExtOrBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1703 of file Core.cpp.

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

◆ LLVMGetConstOpcode()

LLVMOpcode LLVMGetConstOpcode ( LLVMValueRef  ConstantVal)

Definition at line 1431 of file Core.cpp.

References getOpcode(), and map_to_llvmopcode().

◆ LLVMSizeOf()

LLVMValueRef LLVMSizeOf ( LLVMTypeRef  Ty)

Definition at line 1439 of file Core.cpp.

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