|
LLVM 22.0.0git
|
Functions in this group correspond to APIs on llvm::ConstantExpr. More...
Functions in this group correspond to APIs on llvm::ConstantExpr.
| LLVM_C_ABI LLVM_ATTRIBUTE_C_DEPRECATED | ( | LLVMValueRef | LLVMConstNUWNegLLVMValueRef ConstantVal, |
| "Use LLVMConstNull instead." | ) |
| LLVM_C_ABI LLVMValueRef LLVMAlignOf | ( | LLVMTypeRef | Ty | ) |
Definition at line 1761 of file Core.cpp.
References llvm::ConstantExpr::getAlignOf(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBlockAddress | ( | LLVMValueRef | F, |
| LLVMBasicBlockRef | BB ) |
Definition at line 1924 of file Core.cpp.
References F, llvm::BlockAddress::get(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstAdd | ( | LLVMValueRef | LHSConstant, |
| LLVMValueRef | RHSConstant ) |
Definition at line 1786 of file Core.cpp.
References llvm::ConstantExpr::getAdd(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstAddrSpaceCast | ( | LLVMValueRef | ConstantVal, |
| LLVMTypeRef | ToType ) |
Definition at line 1874 of file Core.cpp.
References llvm::ConstantExpr::getAddrSpaceCast(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstBitCast | ( | LLVMValueRef | ConstantVal, |
| LLVMTypeRef | ToType ) |
Definition at line 1869 of file Core.cpp.
References llvm::ConstantExpr::getBitCast(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstExtractElement | ( | LLVMValueRef | VectorConstant, |
| LLVMValueRef | IndexConstant ) |
Definition at line 1892 of file Core.cpp.
References llvm::ConstantExpr::getExtractElement(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstGEP2 | ( | LLVMTypeRef | Ty, |
| LLVMValueRef | ConstantVal, | ||
| LLVMValueRef * | ConstantIndices, | ||
| unsigned | NumIndices ) |
Definition at line 1825 of file Core.cpp.
References llvm::ConstantExpr::getGetElementPtr(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstGEPWithNoWrapFlags | ( | LLVMTypeRef | Ty, |
| LLVMValueRef | ConstantVal, | ||
| LLVMValueRef * | ConstantIndices, | ||
| unsigned | NumIndices, | ||
| LLVMGEPNoWrapFlags | NoWrapFlags ) |
Creates a constant GetElementPtr expression.
Similar to LLVMConstGEP2, but allows specifying the no-wrap flags.
Definition at line 1842 of file Core.cpp.
References llvm::ConstantExpr::getGetElementPtr(), mapFromLLVMGEPNoWrapFlags(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstInBoundsGEP2 | ( | LLVMTypeRef | Ty, |
| LLVMValueRef | ConstantVal, | ||
| LLVMValueRef * | ConstantIndices, | ||
| unsigned | NumIndices ) |
Definition at line 1833 of file Core.cpp.
References llvm::ConstantExpr::getInBoundsGetElementPtr(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstInlineAsm | ( | LLVMTypeRef | Ty, |
| const char * | AsmString, | ||
| const char * | Constraints, | ||
| LLVMBool | HasSideEffects, | ||
| LLVMBool | IsAlignStack ) |
Deprecated: Use LLVMGetInlineAsm instead.
Definition at line 1916 of file Core.cpp.
References llvm::dyn_cast(), llvm::InlineAsm::get(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstInsertElement | ( | LLVMValueRef | VectorConstant, |
| LLVMValueRef | ElementValueConstant, | ||
| LLVMValueRef | IndexConstant ) |
Definition at line 1898 of file Core.cpp.
References llvm::ConstantExpr::getInsertElement(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstIntToPtr | ( | LLVMValueRef | ConstantVal, |
| LLVMTypeRef | ToType ) |
Definition at line 1864 of file Core.cpp.
References llvm::ConstantExpr::getIntToPtr(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstNeg | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 1769 of file Core.cpp.
References llvm::ConstantExpr::getNeg(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstNot | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 1782 of file Core.cpp.
References llvm::ConstantExpr::getNot(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstNSWAdd | ( | LLVMValueRef | LHSConstant, |
| LLVMValueRef | RHSConstant ) |
Definition at line 1791 of file Core.cpp.
References llvm::ConstantExpr::getNSWAdd(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstNSWNeg | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 1773 of file Core.cpp.
References llvm::ConstantExpr::getNSWNeg(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstNSWSub | ( | LLVMValueRef | LHSConstant, |
| LLVMValueRef | RHSConstant ) |
Definition at line 1808 of file Core.cpp.
References llvm::ConstantExpr::getNSWSub(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstNUWAdd | ( | LLVMValueRef | LHSConstant, |
| LLVMValueRef | RHSConstant ) |
Definition at line 1797 of file Core.cpp.
References llvm::ConstantExpr::getNUWAdd(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstNUWSub | ( | LLVMValueRef | LHSConstant, |
| LLVMValueRef | RHSConstant ) |
Definition at line 1814 of file Core.cpp.
References llvm::ConstantExpr::getNUWSub(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstPointerCast | ( | LLVMValueRef | ConstantVal, |
| LLVMTypeRef | ToType ) |
Definition at line 1886 of file Core.cpp.
References llvm::ConstantExpr::getPointerCast(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstPtrToInt | ( | LLVMValueRef | ConstantVal, |
| LLVMTypeRef | ToType ) |
Definition at line 1859 of file Core.cpp.
References llvm::ConstantExpr::getPtrToInt(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstShuffleVector | ( | LLVMValueRef | VectorAConstant, |
| LLVMValueRef | VectorBConstant, | ||
| LLVMValueRef | MaskConstant ) |
Definition at line 1906 of file Core.cpp.
References llvm::ShuffleVectorInst::getShuffleMask(), llvm::ConstantExpr::getShuffleVector(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstSub | ( | LLVMValueRef | LHSConstant, |
| LLVMValueRef | RHSConstant ) |
Definition at line 1803 of file Core.cpp.
References llvm::ConstantExpr::getSub(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstTrunc | ( | LLVMValueRef | ConstantVal, |
| LLVMTypeRef | ToType ) |
Definition at line 1854 of file Core.cpp.
References llvm::ConstantExpr::getTrunc(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstTruncOrBitCast | ( | LLVMValueRef | ConstantVal, |
| LLVMTypeRef | ToType ) |
Definition at line 1880 of file Core.cpp.
References llvm::ConstantExpr::getTruncOrBitCast(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMConstXor | ( | LLVMValueRef | LHSConstant, |
| LLVMValueRef | RHSConstant ) |
Definition at line 1820 of file Core.cpp.
References llvm::ConstantExpr::getXor(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMBasicBlockRef LLVMGetBlockAddressBasicBlock | ( | LLVMValueRef | BlockAddr | ) |
Gets the basic block associated with a given BlockAddress constant value.
Definition at line 1932 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMGetBlockAddressFunction | ( | LLVMValueRef | BlockAddr | ) |
Gets the function associated with a given BlockAddress constant value.
Definition at line 1928 of file Core.cpp.
References getFunction(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMOpcode LLVMGetConstOpcode | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 1757 of file Core.cpp.
References getOpcode(), map_to_llvmopcode(), and llvm::unwrap().
| LLVM_C_ABI LLVMValueRef LLVMSizeOf | ( | LLVMTypeRef | Ty | ) |
Definition at line 1765 of file Core.cpp.
References llvm::ConstantExpr::getSizeOf(), llvm::unwrap(), and llvm::wrap().