Lines Matching refs:ConstantVal

1390 unsigned long long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal) {  in LLVMConstIntGetZExtValue()  argument
1391 return unwrap<ConstantInt>(ConstantVal)->getZExtValue(); in LLVMConstIntGetZExtValue()
1394 long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal) { in LLVMConstIntGetSExtValue() argument
1395 return unwrap<ConstantInt>(ConstantVal)->getSExtValue(); in LLVMConstIntGetSExtValue()
1398 double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *LosesInfo) { in LLVMConstRealGetDouble() argument
1399 ConstantFP *cFP = unwrap<ConstantFP>(ConstantVal) ; in LLVMConstRealGetDouble()
1504 LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal) { in LLVMGetConstOpcode() argument
1505 return map_to_llvmopcode(unwrap<ConstantExpr>(ConstantVal)->getOpcode()); in LLVMGetConstOpcode()
1516 LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal) { in LLVMConstNeg() argument
1517 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNeg()
1520 LLVMValueRef LLVMConstNSWNeg(LLVMValueRef ConstantVal) { in LLVMConstNSWNeg() argument
1521 return wrap(ConstantExpr::getNSWNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNSWNeg()
1524 LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal) { in LLVMConstNUWNeg() argument
1525 return wrap(ConstantExpr::getNUWNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNUWNeg()
1529 LLVMValueRef LLVMConstFNeg(LLVMValueRef ConstantVal) { in LLVMConstFNeg() argument
1530 return wrap(ConstantExpr::getFNeg(unwrap<Constant>(ConstantVal))); in LLVMConstFNeg()
1533 LLVMValueRef LLVMConstNot(LLVMValueRef ConstantVal) { in LLVMConstNot() argument
1534 return wrap(ConstantExpr::getNot(unwrap<Constant>(ConstantVal))); in LLVMConstNot()
1689 LLVMValueRef LLVMConstGEP(LLVMValueRef ConstantVal, in LLVMConstGEP() argument
1693 Constant *Val = unwrap<Constant>(ConstantVal); in LLVMConstGEP()
1699 LLVMValueRef LLVMConstInBoundsGEP(LLVMValueRef ConstantVal, in LLVMConstInBoundsGEP() argument
1704 Constant *Val = unwrap<Constant>(ConstantVal); in LLVMConstInBoundsGEP()
1710 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument
1711 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
1715 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSExt() argument
1716 return wrap(ConstantExpr::getSExt(unwrap<Constant>(ConstantVal), in LLVMConstSExt()
1720 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstZExt() argument
1721 return wrap(ConstantExpr::getZExt(unwrap<Constant>(ConstantVal), in LLVMConstZExt()
1725 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPTrunc() argument
1726 return wrap(ConstantExpr::getFPTrunc(unwrap<Constant>(ConstantVal), in LLVMConstFPTrunc()
1730 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPExt() argument
1731 return wrap(ConstantExpr::getFPExtend(unwrap<Constant>(ConstantVal), in LLVMConstFPExt()
1735 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstUIToFP() argument
1736 return wrap(ConstantExpr::getUIToFP(unwrap<Constant>(ConstantVal), in LLVMConstUIToFP()
1740 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSIToFP() argument
1741 return wrap(ConstantExpr::getSIToFP(unwrap<Constant>(ConstantVal), in LLVMConstSIToFP()
1745 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPToUI() argument
1746 return wrap(ConstantExpr::getFPToUI(unwrap<Constant>(ConstantVal), in LLVMConstFPToUI()
1750 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPToSI() argument
1751 return wrap(ConstantExpr::getFPToSI(unwrap<Constant>(ConstantVal), in LLVMConstFPToSI()
1755 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstPtrToInt() argument
1756 return wrap(ConstantExpr::getPtrToInt(unwrap<Constant>(ConstantVal), in LLVMConstPtrToInt()
1760 LLVMValueRef LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstIntToPtr() argument
1761 return wrap(ConstantExpr::getIntToPtr(unwrap<Constant>(ConstantVal), in LLVMConstIntToPtr()
1765 LLVMValueRef LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstBitCast() argument
1766 return wrap(ConstantExpr::getBitCast(unwrap<Constant>(ConstantVal), in LLVMConstBitCast()
1770 LLVMValueRef LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal, in LLVMConstAddrSpaceCast() argument
1772 return wrap(ConstantExpr::getAddrSpaceCast(unwrap<Constant>(ConstantVal), in LLVMConstAddrSpaceCast()
1776 LLVMValueRef LLVMConstZExtOrBitCast(LLVMValueRef ConstantVal, in LLVMConstZExtOrBitCast() argument
1778 return wrap(ConstantExpr::getZExtOrBitCast(unwrap<Constant>(ConstantVal), in LLVMConstZExtOrBitCast()
1782 LLVMValueRef LLVMConstSExtOrBitCast(LLVMValueRef ConstantVal, in LLVMConstSExtOrBitCast() argument
1784 return wrap(ConstantExpr::getSExtOrBitCast(unwrap<Constant>(ConstantVal), in LLVMConstSExtOrBitCast()
1788 LLVMValueRef LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, in LLVMConstTruncOrBitCast() argument
1790 return wrap(ConstantExpr::getTruncOrBitCast(unwrap<Constant>(ConstantVal), in LLVMConstTruncOrBitCast()
1794 LLVMValueRef LLVMConstPointerCast(LLVMValueRef ConstantVal, in LLVMConstPointerCast() argument
1796 return wrap(ConstantExpr::getPointerCast(unwrap<Constant>(ConstantVal), in LLVMConstPointerCast()
1800 LLVMValueRef LLVMConstIntCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType, in LLVMConstIntCast() argument
1802 return wrap(ConstantExpr::getIntegerCast(unwrap<Constant>(ConstantVal), in LLVMConstIntCast()
1806 LLVMValueRef LLVMConstFPCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPCast() argument
1807 return wrap(ConstantExpr::getFPCast(unwrap<Constant>(ConstantVal), in LLVMConstFPCast()
2191 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) { in LLVMSetInitializer() argument
2193 ->setInitializer(unwrap<Constant>(ConstantVal)); in LLVMSetInitializer()