Lines Matching defs:ConstantVal
1573 unsigned long long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal) {
1574 return unwrap<ConstantInt>(ConstantVal)->getZExtValue();
1577 long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal) {
1578 return unwrap<ConstantInt>(ConstantVal)->getSExtValue();
1581 double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *LosesInfo) {
1582 ConstantFP *cFP = unwrap<ConstantFP>(ConstantVal) ;
1739 LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal) {
1740 return map_to_llvmopcode(unwrap<ConstantExpr>(ConstantVal)->getOpcode());
1751 LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal) {
1752 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal)));
1755 LLVMValueRef LLVMConstNSWNeg(LLVMValueRef ConstantVal) {
1756 return wrap(ConstantExpr::getNSWNeg(unwrap<Constant>(ConstantVal)));
1759 LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal) {
1760 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal)));
1764 LLVMValueRef LLVMConstNot(LLVMValueRef ConstantVal) {
1765 return wrap(ConstantExpr::getNot(unwrap<Constant>(ConstantVal)));
1824 LLVMValueRef LLVMConstGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal,
1828 Constant *Val = unwrap<Constant>(ConstantVal);
1832 LLVMValueRef LLVMConstInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal,
1837 Constant *Val = unwrap<Constant>(ConstantVal);
1842 LLVMValueRef ConstantVal,
1848 Constant *Val = unwrap<Constant>(ConstantVal);
1853 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1854 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal),
1858 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1859 return wrap(ConstantExpr::getPtrToInt(unwrap<Constant>(ConstantVal),
1863 LLVMValueRef LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1864 return wrap(ConstantExpr::getIntToPtr(unwrap<Constant>(ConstantVal),
1868 LLVMValueRef LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1869 return wrap(ConstantExpr::getBitCast(unwrap<Constant>(ConstantVal),
1873 LLVMValueRef LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal,
1875 return wrap(ConstantExpr::getAddrSpaceCast(unwrap<Constant>(ConstantVal),
1879 LLVMValueRef LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal,
1881 return wrap(ConstantExpr::getTruncOrBitCast(unwrap<Constant>(ConstantVal),
1885 LLVMValueRef LLVMConstPointerCast(LLVMValueRef ConstantVal,
1887 return wrap(ConstantExpr::getPointerCast(unwrap<Constant>(ConstantVal),
2257 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) {
2259 ->setInitializer(unwrap<Constant>(ConstantVal));