LLVM 20.0.0git
|
Functions in this group correspond to APIs on llvm::ConstantExpr. More...
Functions in this group correspond to APIs on llvm::ConstantExpr.
LLVM_ATTRIBUTE_C_DEPRECATED | ( | LLVMValueRef | LLVMConstNUWNegLLVMValueRef ConstantVal, |
"Use LLVMConstNull instead." | |||
) |
LLVMValueRef LLVMAlignOf | ( | LLVMTypeRef | Ty | ) |
Definition at line 1735 of file Core.cpp.
References llvm::ConstantExpr::getAlignOf(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMBlockAddress | ( | LLVMValueRef | F, |
LLVMBasicBlockRef | BB | ||
) |
Definition at line 1915 of file Core.cpp.
References F, llvm::BlockAddress::get(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstAdd | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 1760 of file Core.cpp.
References llvm::ConstantExpr::getAdd(), and llvm::wrap().
LLVMValueRef LLVMConstAddrSpaceCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1865 of file Core.cpp.
References llvm::ConstantExpr::getAddrSpaceCast(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstBitCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1860 of file Core.cpp.
References llvm::ConstantExpr::getBitCast(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstExtractElement | ( | LLVMValueRef | VectorConstant, |
LLVMValueRef | IndexConstant | ||
) |
Definition at line 1883 of file Core.cpp.
References llvm::ConstantExpr::getExtractElement(), and llvm::wrap().
LLVMValueRef LLVMConstGEP2 | ( | LLVMTypeRef | Ty, |
LLVMValueRef | ConstantVal, | ||
LLVMValueRef * | ConstantIndices, | ||
unsigned | NumIndices | ||
) |
Definition at line 1816 of file Core.cpp.
References llvm::ConstantExpr::getGetElementPtr(), unwrap(), and llvm::wrap().
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 1833 of file Core.cpp.
References llvm::ConstantExpr::getGetElementPtr(), mapFromLLVMGEPNoWrapFlags(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstInBoundsGEP2 | ( | LLVMTypeRef | Ty, |
LLVMValueRef | ConstantVal, | ||
LLVMValueRef * | ConstantIndices, | ||
unsigned | NumIndices | ||
) |
Definition at line 1824 of file Core.cpp.
References llvm::ConstantExpr::getInBoundsGetElementPtr(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstInlineAsm | ( | LLVMTypeRef | Ty, |
const char * | AsmString, | ||
const char * | Constraints, | ||
LLVMBool | HasSideEffects, | ||
LLVMBool | IsAlignStack | ||
) |
Deprecated: Use LLVMGetInlineAsm instead.
Definition at line 1907 of file Core.cpp.
References llvm::InlineAsm::get(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstInsertElement | ( | LLVMValueRef | VectorConstant, |
LLVMValueRef | ElementValueConstant, | ||
LLVMValueRef | IndexConstant | ||
) |
Definition at line 1889 of file Core.cpp.
References llvm::ConstantExpr::getInsertElement(), and llvm::wrap().
LLVMValueRef LLVMConstIntToPtr | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1855 of file Core.cpp.
References llvm::ConstantExpr::getIntToPtr(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstMul | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 1794 of file Core.cpp.
References llvm::ConstantExpr::getMul(), and llvm::wrap().
LLVMValueRef LLVMConstNeg | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 1743 of file Core.cpp.
References llvm::ConstantExpr::getNeg(), and llvm::wrap().
LLVMValueRef LLVMConstNot | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 1756 of file Core.cpp.
References llvm::ConstantExpr::getNot(), and llvm::wrap().
LLVMValueRef LLVMConstNSWAdd | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 1765 of file Core.cpp.
References llvm::ConstantExpr::getNSWAdd(), and llvm::wrap().
LLVMValueRef LLVMConstNSWMul | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 1799 of file Core.cpp.
References llvm::ConstantExpr::getNSWMul(), and llvm::wrap().
LLVMValueRef LLVMConstNSWNeg | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 1747 of file Core.cpp.
References llvm::ConstantExpr::getNSWNeg(), and llvm::wrap().
LLVMValueRef LLVMConstNSWSub | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 1782 of file Core.cpp.
References llvm::ConstantExpr::getNSWSub(), and llvm::wrap().
LLVMValueRef LLVMConstNUWAdd | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 1771 of file Core.cpp.
References llvm::ConstantExpr::getNUWAdd(), and llvm::wrap().
LLVMValueRef LLVMConstNUWMul | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 1805 of file Core.cpp.
References llvm::ConstantExpr::getNUWMul(), and llvm::wrap().
LLVMValueRef LLVMConstNUWSub | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 1788 of file Core.cpp.
References llvm::ConstantExpr::getNUWSub(), and llvm::wrap().
LLVMValueRef LLVMConstPointerCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1877 of file Core.cpp.
References llvm::ConstantExpr::getPointerCast(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstPtrToInt | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1850 of file Core.cpp.
References llvm::ConstantExpr::getPtrToInt(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstShuffleVector | ( | LLVMValueRef | VectorAConstant, |
LLVMValueRef | VectorBConstant, | ||
LLVMValueRef | MaskConstant | ||
) |
Definition at line 1897 of file Core.cpp.
References llvm::ShuffleVectorInst::getShuffleMask(), llvm::ConstantExpr::getShuffleVector(), and llvm::wrap().
LLVMValueRef LLVMConstSub | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 1777 of file Core.cpp.
References llvm::ConstantExpr::getSub(), and llvm::wrap().
LLVMValueRef LLVMConstTrunc | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1845 of file Core.cpp.
References llvm::ConstantExpr::getTrunc(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstTruncOrBitCast | ( | LLVMValueRef | ConstantVal, |
LLVMTypeRef | ToType | ||
) |
Definition at line 1871 of file Core.cpp.
References llvm::ConstantExpr::getTruncOrBitCast(), unwrap(), and llvm::wrap().
LLVMValueRef LLVMConstXor | ( | LLVMValueRef | LHSConstant, |
LLVMValueRef | RHSConstant | ||
) |
Definition at line 1811 of file Core.cpp.
References llvm::ConstantExpr::getXor(), and llvm::wrap().
LLVMBasicBlockRef LLVMGetBlockAddressBasicBlock | ( | LLVMValueRef | BlockAddr | ) |
Gets the basic block associated with a given BlockAddress constant value.
Definition at line 1923 of file Core.cpp.
References llvm::wrap().
LLVMValueRef LLVMGetBlockAddressFunction | ( | LLVMValueRef | BlockAddr | ) |
Gets the function associated with a given BlockAddress constant value.
Definition at line 1919 of file Core.cpp.
References getFunction(), and llvm::wrap().
LLVMOpcode LLVMGetConstOpcode | ( | LLVMValueRef | ConstantVal | ) |
Definition at line 1731 of file Core.cpp.
References getOpcode(), and map_to_llvmopcode().
LLVMValueRef LLVMSizeOf | ( | LLVMTypeRef | Ty | ) |
Definition at line 1739 of file Core.cpp.
References llvm::ConstantExpr::getSizeOf(), unwrap(), and llvm::wrap().