LLVM  6.0.0svn
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 LLVMConstInBoundsGEP (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 LLVMConstInlineAsm (LLVMTypeRef Ty, const char *AsmString, const char *Constraints, LLVMBool HasSideEffects, LLVMBool IsAlignStack)
 
LLVMValueRef LLVMBlockAddress (LLVMValueRef F, LLVMBasicBlockRef BB)
 

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 1111 of file Core.cpp.

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

◆ LLVMBlockAddress()

LLVMValueRef LLVMBlockAddress ( LLVMValueRef  F,
LLVMBasicBlockRef  BB 
)

Definition at line 1462 of file Core.cpp.

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

◆ LLVMConstAdd()

LLVMValueRef LLVMConstAdd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1140 of file Core.cpp.

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

◆ LLVMConstAddrSpaceCast()

LLVMValueRef LLVMConstAddrSpaceCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1369 of file Core.cpp.

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

◆ LLVMConstAnd()

LLVMValueRef LLVMConstAnd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1248 of file Core.cpp.

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

◆ LLVMConstAShr()

LLVMValueRef LLVMConstAShr ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1287 of file Core.cpp.

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

◆ LLVMConstBitCast()

LLVMValueRef LLVMConstBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1364 of file Core.cpp.

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

◆ LLVMConstExactSDiv()

LLVMValueRef LLVMConstExactSDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1222 of file Core.cpp.

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

◆ LLVMConstExactUDiv()

LLVMValueRef LLVMConstExactUDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1211 of file Core.cpp.

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

◆ LLVMConstExtractElement()

LLVMValueRef LLVMConstExtractElement ( LLVMValueRef  VectorConstant,
LLVMValueRef  IndexConstant 
)

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

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

◆ LLVMConstFCmp()

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

Definition at line 1270 of file Core.cpp.

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

◆ LLVMConstFDiv()

LLVMValueRef LLVMConstFDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1228 of file Core.cpp.

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

◆ LLVMConstFMul()

LLVMValueRef LLVMConstFMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1201 of file Core.cpp.

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

◆ LLVMConstFNeg()

LLVMValueRef LLVMConstFNeg ( LLVMValueRef  ConstantVal)

Definition at line 1132 of file Core.cpp.

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

◆ LLVMConstFPCast()

LLVMValueRef LLVMConstFPCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1405 of file Core.cpp.

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

◆ LLVMConstFPExt()

LLVMValueRef LLVMConstFPExt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1329 of file Core.cpp.

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

◆ LLVMConstFPToSI()

LLVMValueRef LLVMConstFPToSI ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1349 of file Core.cpp.

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

◆ LLVMConstFPToUI()

LLVMValueRef LLVMConstFPToUI ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1344 of file Core.cpp.

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

◆ LLVMConstFPTrunc()

LLVMValueRef LLVMConstFPTrunc ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1324 of file Core.cpp.

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

◆ LLVMConstFRem()

LLVMValueRef LLVMConstFRem ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1243 of file Core.cpp.

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

◆ LLVMConstFSub()

LLVMValueRef LLVMConstFSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1179 of file Core.cpp.

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

◆ LLVMConstGEP()

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

Definition at line 1292 of file Core.cpp.

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

◆ LLVMConstICmp()

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

Definition at line 1263 of file Core.cpp.

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

◆ LLVMConstInBoundsGEP()

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

Definition at line 1300 of file Core.cpp.

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

◆ LLVMConstInlineAsm()

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

Definition at line 1454 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 1424 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 1399 of file Core.cpp.

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

◆ LLVMConstIntToPtr()

LLVMValueRef LLVMConstIntToPtr ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1359 of file Core.cpp.

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

◆ LLVMConstLShr()

LLVMValueRef LLVMConstLShr ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1282 of file Core.cpp.

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

◆ LLVMConstMul()

LLVMValueRef LLVMConstMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1184 of file Core.cpp.

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

◆ LLVMConstNeg()

LLVMValueRef LLVMConstNeg ( LLVMValueRef  ConstantVal)

Definition at line 1119 of file Core.cpp.

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

◆ LLVMConstNot()

LLVMValueRef LLVMConstNot ( LLVMValueRef  ConstantVal)

Definition at line 1136 of file Core.cpp.

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

◆ LLVMConstNSWAdd()

LLVMValueRef LLVMConstNSWAdd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1145 of file Core.cpp.

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

◆ LLVMConstNSWMul()

LLVMValueRef LLVMConstNSWMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1189 of file Core.cpp.

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

◆ LLVMConstNSWNeg()

LLVMValueRef LLVMConstNSWNeg ( LLVMValueRef  ConstantVal)

Definition at line 1123 of file Core.cpp.

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

◆ LLVMConstNSWSub()

LLVMValueRef LLVMConstNSWSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1167 of file Core.cpp.

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

◆ LLVMConstNUWAdd()

LLVMValueRef LLVMConstNUWAdd ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1151 of file Core.cpp.

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

◆ LLVMConstNUWMul()

LLVMValueRef LLVMConstNUWMul ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1195 of file Core.cpp.

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

◆ LLVMConstNUWNeg()

LLVMValueRef LLVMConstNUWNeg ( LLVMValueRef  ConstantVal)

Definition at line 1127 of file Core.cpp.

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

◆ LLVMConstNUWSub()

LLVMValueRef LLVMConstNUWSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1173 of file Core.cpp.

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

◆ LLVMConstOr()

LLVMValueRef LLVMConstOr ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1253 of file Core.cpp.

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

◆ LLVMConstPointerCast()

LLVMValueRef LLVMConstPointerCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1393 of file Core.cpp.

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

◆ LLVMConstPtrToInt()

LLVMValueRef LLVMConstPtrToInt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1354 of file Core.cpp.

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

◆ LLVMConstSDiv()

LLVMValueRef LLVMConstSDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1217 of file Core.cpp.

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

◆ LLVMConstSelect()

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

Definition at line 1410 of file Core.cpp.

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

◆ LLVMConstSExt()

LLVMValueRef LLVMConstSExt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1314 of file Core.cpp.

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

◆ LLVMConstSExtOrBitCast()

LLVMValueRef LLVMConstSExtOrBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1381 of file Core.cpp.

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

◆ LLVMConstShl()

LLVMValueRef LLVMConstShl ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1277 of file Core.cpp.

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

◆ LLVMConstShuffleVector()

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

Definition at line 1432 of file Core.cpp.

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

◆ LLVMConstSIToFP()

LLVMValueRef LLVMConstSIToFP ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1339 of file Core.cpp.

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

◆ LLVMConstSRem()

LLVMValueRef LLVMConstSRem ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1238 of file Core.cpp.

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

◆ LLVMConstSub()

LLVMValueRef LLVMConstSub ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1162 of file Core.cpp.

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

◆ LLVMConstTrunc()

LLVMValueRef LLVMConstTrunc ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1309 of file Core.cpp.

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

◆ LLVMConstTruncOrBitCast()

LLVMValueRef LLVMConstTruncOrBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1387 of file Core.cpp.

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

◆ LLVMConstUDiv()

LLVMValueRef LLVMConstUDiv ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1206 of file Core.cpp.

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

◆ LLVMConstUIToFP()

LLVMValueRef LLVMConstUIToFP ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1334 of file Core.cpp.

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

◆ LLVMConstURem()

LLVMValueRef LLVMConstURem ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1233 of file Core.cpp.

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

◆ LLVMConstXor()

LLVMValueRef LLVMConstXor ( LLVMValueRef  LHSConstant,
LLVMValueRef  RHSConstant 
)

Definition at line 1258 of file Core.cpp.

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

◆ LLVMConstZExt()

LLVMValueRef LLVMConstZExt ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1319 of file Core.cpp.

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

◆ LLVMConstZExtOrBitCast()

LLVMValueRef LLVMConstZExtOrBitCast ( LLVMValueRef  ConstantVal,
LLVMTypeRef  ToType 
)

Definition at line 1375 of file Core.cpp.

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

◆ LLVMGetConstOpcode()

LLVMOpcode LLVMGetConstOpcode ( LLVMValueRef  ConstantVal)

Definition at line 1107 of file Core.cpp.

References map_to_llvmopcode().

◆ LLVMSizeOf()

LLVMValueRef LLVMSizeOf ( LLVMTypeRef  Ty)

Definition at line 1115 of file Core.cpp.

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