LLVM API Documentation
![]() |
Functions in this group correspond to APIs on llvm::ConstantExpr.
LLVMValueRef LLVMAlignOf | ( | LLVMTypeRef | Ty | ) |
Definition at line 784 of file Core.cpp.
References llvm::ConstantExpr::getAlignOf(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBlockAddress | ( | LLVMValueRef | F, |
LLVMBasicBlockRef | BB | ||
) |
Definition at line 1129 of file Core.cpp.
References llvm::BlockAddress::get(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstAdd | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 813 of file Core.cpp.
References llvm::ConstantExpr::getAdd(), and llvm::wrap().
LLVMValueRef LLVMConstAddrSpaceCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1036 of file Core.cpp.
References llvm::ConstantExpr::getAddrSpaceCast(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstAnd | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 915 of file Core.cpp.
References llvm::ConstantExpr::getAnd(), and llvm::wrap().
LLVMValueRef LLVMConstAShr | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 954 of file Core.cpp.
References llvm::ConstantExpr::getAShr(), and llvm::wrap().
LLVMValueRef LLVMConstBitCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1031 of file Core.cpp.
References llvm::ConstantExpr::getBitCast(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstExactSDiv | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 889 of file Core.cpp.
References llvm::ConstantExpr::getExactSDiv(), and llvm::wrap().
LLVMValueRef LLVMConstExtractElement | ( | LLVMValueRef | VectorConstant, |
LLVMValueRef | IndexConstant | ||
) |
Definition at line 1085 of file Core.cpp.
References llvm::ConstantExpr::getExtractElement(), and llvm::wrap().
LLVMValueRef LLVMConstExtractValue | ( | LLVMValueRef | AggConstant, |
unsigned * | IdxList, | ||
unsigned | NumIdx | ||
) |
Definition at line 1107 of file Core.cpp.
References llvm::ConstantExpr::getExtractValue(), llvm::makeArrayRef(), and llvm::wrap().
LLVMValueRef LLVMConstFAdd | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 830 of file Core.cpp.
References llvm::ConstantExpr::getFAdd(), and llvm::wrap().
LLVMValueRef LLVMConstFCmp | ( | LLVMRealPredicate | Predicate, |
LLVMValueRef | LHSConstant, | ||
LLVMValueRef | RHSConstant | ||
) |
Definition at line 937 of file Core.cpp.
References llvm::ConstantExpr::getFCmp(), and llvm::wrap().
LLVMValueRef LLVMConstFDiv | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 895 of file Core.cpp.
References llvm::ConstantExpr::getFDiv(), and llvm::wrap().
LLVMValueRef LLVMConstFMul | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 874 of file Core.cpp.
References llvm::ConstantExpr::getFMul(), and llvm::wrap().
LLVMValueRef LLVMConstFNeg | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 805 of file Core.cpp.
References llvm::ConstantExpr::getFNeg(), and llvm::wrap().
LLVMValueRef LLVMConstFPCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1072 of file Core.cpp.
References llvm::ConstantExpr::getFPCast(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstFPExt | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 996 of file Core.cpp.
References llvm::ConstantExpr::getFPExtend(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstFPToSI | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1016 of file Core.cpp.
References llvm::ConstantExpr::getFPToSI(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstFPToUI | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1011 of file Core.cpp.
References llvm::ConstantExpr::getFPToUI(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstFPTrunc | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 991 of file Core.cpp.
References llvm::ConstantExpr::getFPTrunc(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstFRem | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 910 of file Core.cpp.
References llvm::ConstantExpr::getFRem(), and llvm::wrap().
LLVMValueRef LLVMConstFSub | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 852 of file Core.cpp.
References llvm::ConstantExpr::getFSub(), and llvm::wrap().
LLVMValueRef LLVMConstGEP | ( | LLVMValueRef | ConstantVal, |
LLVMValueRef * | ConstantIndices, | ||
unsigned | NumIndices | ||
) |
Definition at line 959 of file Core.cpp.
References llvm::ConstantExpr::getGetElementPtr(), and llvm::wrap().
LLVMValueRef LLVMConstICmp | ( | LLVMIntPredicate | Predicate, |
LLVMValueRef | LHSConstant, | ||
LLVMValueRef | RHSConstant | ||
) |
Definition at line 930 of file Core.cpp.
References llvm::ConstantExpr::getICmp(), and llvm::wrap().
LLVMValueRef LLVMConstInBoundsGEP | ( | LLVMValueRef | ConstantVal, |
LLVMValueRef * | ConstantIndices, | ||
unsigned | NumIndices | ||
) |
Definition at line 967 of file Core.cpp.
References llvm::ConstantExpr::getInBoundsGetElementPtr(), and llvm::wrap().
LLVMValueRef LLVMConstInlineAsm | ( | LLVMTypeRef | Ty, |
const char * | AsmString, | ||
const char * | Constraints, | ||
LLVMBool | HasSideEffects, | ||
LLVMBool | IsAlignStack | ||
) |
Definition at line 1121 of file Core.cpp.
References llvm::InlineAsm::get(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstInsertElement | ( | LLVMValueRef | VectorConstant, |
LLVMValueRef | ElementValueConstant, | ||
LLVMValueRef | IndexConstant | ||
) |
Definition at line 1091 of file Core.cpp.
References llvm::ConstantExpr::getInsertElement(), and llvm::wrap().
LLVMValueRef LLVMConstInsertValue | ( | LLVMValueRef | AggConstant, |
LLVMValueRef | ElementValueConstant, | ||
unsigned * | IdxList, | ||
unsigned | NumIdx | ||
) |
Definition at line 1113 of file Core.cpp.
References llvm::ConstantExpr::getInsertValue(), llvm::makeArrayRef(), and llvm::wrap().
LLVMValueRef LLVMConstIntCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType, | ||
LLVMBool | isSigned | ||
) |
Definition at line 1066 of file Core.cpp.
References llvm::ConstantExpr::getIntegerCast(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstIntToPtr | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1026 of file Core.cpp.
References llvm::ConstantExpr::getIntToPtr(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstLShr | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 949 of file Core.cpp.
References llvm::ConstantExpr::getLShr(), and llvm::wrap().
LLVMValueRef LLVMConstMul | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 857 of file Core.cpp.
References llvm::ConstantExpr::getMul(), and llvm::wrap().
LLVMValueRef LLVMConstNeg | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 792 of file Core.cpp.
References llvm::ConstantExpr::getNeg(), and llvm::wrap().
LLVMValueRef LLVMConstNot | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 809 of file Core.cpp.
References llvm::ConstantExpr::getNot(), and llvm::wrap().
LLVMValueRef LLVMConstNSWAdd | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 818 of file Core.cpp.
References llvm::ConstantExpr::getNSWAdd(), and llvm::wrap().
LLVMValueRef LLVMConstNSWMul | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 862 of file Core.cpp.
References llvm::ConstantExpr::getNSWMul(), and llvm::wrap().
LLVMValueRef LLVMConstNSWNeg | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 796 of file Core.cpp.
References llvm::ConstantExpr::getNSWNeg(), and llvm::wrap().
LLVMValueRef LLVMConstNSWSub | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 840 of file Core.cpp.
References llvm::ConstantExpr::getNSWSub(), and llvm::wrap().
LLVMValueRef LLVMConstNUWAdd | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 824 of file Core.cpp.
References llvm::ConstantExpr::getNUWAdd(), and llvm::wrap().
LLVMValueRef LLVMConstNUWMul | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 868 of file Core.cpp.
References llvm::ConstantExpr::getNUWMul(), and llvm::wrap().
LLVMValueRef LLVMConstNUWNeg | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 800 of file Core.cpp.
References llvm::ConstantExpr::getNUWNeg(), and llvm::wrap().
LLVMValueRef LLVMConstNUWSub | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 846 of file Core.cpp.
References llvm::ConstantExpr::getNUWSub(), and llvm::wrap().
LLVMValueRef LLVMConstOr | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 920 of file Core.cpp.
References llvm::ConstantExpr::getOr(), and llvm::wrap().
LLVMValueRef LLVMConstPointerCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1060 of file Core.cpp.
References llvm::ConstantExpr::getPointerCast(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstPtrToInt | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1021 of file Core.cpp.
References llvm::ConstantExpr::getPtrToInt(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstSDiv | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 884 of file Core.cpp.
References llvm::ConstantExpr::getSDiv(), and llvm::wrap().
LLVMValueRef LLVMConstSelect | ( | LLVMValueRef | ConstantCondition, |
LLVMValueRef | ConstantIfTrue, | ||
LLVMValueRef | ConstantIfFalse | ||
) |
Definition at line 1077 of file Core.cpp.
References llvm::ConstantExpr::getSelect(), and llvm::wrap().
LLVMValueRef LLVMConstSExt | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 981 of file Core.cpp.
References llvm::ConstantExpr::getSExt(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstSExtOrBitCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1048 of file Core.cpp.
References llvm::ConstantExpr::getSExtOrBitCast(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstShl | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 944 of file Core.cpp.
References llvm::ConstantExpr::getShl(), and llvm::wrap().
LLVMValueRef LLVMConstShuffleVector | ( | LLVMValueRef | VectorAConstant, |
LLVMValueRef | VectorBConstant, | ||
LLVMValueRef | MaskConstant | ||
) |
Definition at line 1099 of file Core.cpp.
References llvm::ConstantExpr::getShuffleVector(), and llvm::wrap().
LLVMValueRef LLVMConstSIToFP | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1006 of file Core.cpp.
References llvm::ConstantExpr::getSIToFP(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstSRem | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 905 of file Core.cpp.
References llvm::ConstantExpr::getSRem(), and llvm::wrap().
LLVMValueRef LLVMConstSub | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 835 of file Core.cpp.
References llvm::ConstantExpr::getSub(), and llvm::wrap().
LLVMValueRef LLVMConstTrunc | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 976 of file Core.cpp.
References llvm::ConstantExpr::getTrunc(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstTruncOrBitCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1054 of file Core.cpp.
References llvm::ConstantExpr::getTruncOrBitCast(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstUDiv | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 879 of file Core.cpp.
References llvm::ConstantExpr::getUDiv(), and llvm::wrap().
LLVMValueRef LLVMConstUIToFP | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1001 of file Core.cpp.
References llvm::ConstantExpr::getUIToFP(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstURem | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 900 of file Core.cpp.
References llvm::ConstantExpr::getURem(), and llvm::wrap().
LLVMValueRef LLVMConstXor | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 925 of file Core.cpp.
References llvm::ConstantExpr::getXor(), and llvm::wrap().
LLVMValueRef LLVMConstZExt | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 986 of file Core.cpp.
References llvm::ConstantExpr::getZExt(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstZExtOrBitCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1042 of file Core.cpp.
References llvm::ConstantExpr::getZExtOrBitCast(), llvm::unwrap(), and llvm::wrap().
LLVMOpcode LLVMGetConstOpcode | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 780 of file Core.cpp.
References map_to_llvmopcode().
LLVMValueRef LLVMSizeOf | ( | LLVMTypeRef | Ty | ) |
Definition at line 788 of file Core.cpp.
References llvm::ConstantExpr::getSizeOf(), llvm::unwrap(), and llvm::wrap().