Lines Matching refs:ConstantVal

1313 unsigned long long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal) {  in LLVMConstIntGetZExtValue()  argument
1314 return unwrap<ConstantInt>(ConstantVal)->getZExtValue(); in LLVMConstIntGetZExtValue()
1317 long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal) { in LLVMConstIntGetSExtValue() argument
1318 return unwrap<ConstantInt>(ConstantVal)->getSExtValue(); in LLVMConstIntGetSExtValue()
1321 double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *LosesInfo) { in LLVMConstRealGetDouble() argument
1322 ConstantFP *cFP = unwrap<ConstantFP>(ConstantVal) ; in LLVMConstRealGetDouble()
1431 LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal) { in LLVMGetConstOpcode() argument
1432 return map_to_llvmopcode(unwrap<ConstantExpr>(ConstantVal)->getOpcode()); in LLVMGetConstOpcode()
1443 LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal) { in LLVMConstNeg() argument
1444 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNeg()
1447 LLVMValueRef LLVMConstNSWNeg(LLVMValueRef ConstantVal) { in LLVMConstNSWNeg() argument
1448 return wrap(ConstantExpr::getNSWNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNSWNeg()
1451 LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal) { in LLVMConstNUWNeg() argument
1452 return wrap(ConstantExpr::getNUWNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNUWNeg()
1456 LLVMValueRef LLVMConstFNeg(LLVMValueRef ConstantVal) { in LLVMConstFNeg() argument
1457 return wrap(ConstantExpr::getFNeg(unwrap<Constant>(ConstantVal))); in LLVMConstFNeg()
1460 LLVMValueRef LLVMConstNot(LLVMValueRef ConstantVal) { in LLVMConstNot() argument
1461 return wrap(ConstantExpr::getNot(unwrap<Constant>(ConstantVal))); in LLVMConstNot()
1616 LLVMValueRef LLVMConstGEP(LLVMValueRef ConstantVal, in LLVMConstGEP() argument
1620 Constant *Val = unwrap<Constant>(ConstantVal); in LLVMConstGEP()
1626 LLVMValueRef LLVMConstInBoundsGEP(LLVMValueRef ConstantVal, in LLVMConstInBoundsGEP() argument
1631 Constant *Val = unwrap<Constant>(ConstantVal); in LLVMConstInBoundsGEP()
1637 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument
1638 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
1642 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSExt() argument
1643 return wrap(ConstantExpr::getSExt(unwrap<Constant>(ConstantVal), in LLVMConstSExt()
1647 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstZExt() argument
1648 return wrap(ConstantExpr::getZExt(unwrap<Constant>(ConstantVal), in LLVMConstZExt()
1652 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPTrunc() argument
1653 return wrap(ConstantExpr::getFPTrunc(unwrap<Constant>(ConstantVal), in LLVMConstFPTrunc()
1657 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPExt() argument
1658 return wrap(ConstantExpr::getFPExtend(unwrap<Constant>(ConstantVal), in LLVMConstFPExt()
1662 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstUIToFP() argument
1663 return wrap(ConstantExpr::getUIToFP(unwrap<Constant>(ConstantVal), in LLVMConstUIToFP()
1667 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSIToFP() argument
1668 return wrap(ConstantExpr::getSIToFP(unwrap<Constant>(ConstantVal), in LLVMConstSIToFP()
1672 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPToUI() argument
1673 return wrap(ConstantExpr::getFPToUI(unwrap<Constant>(ConstantVal), in LLVMConstFPToUI()
1677 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPToSI() argument
1678 return wrap(ConstantExpr::getFPToSI(unwrap<Constant>(ConstantVal), in LLVMConstFPToSI()
1682 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstPtrToInt() argument
1683 return wrap(ConstantExpr::getPtrToInt(unwrap<Constant>(ConstantVal), in LLVMConstPtrToInt()
1687 LLVMValueRef LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstIntToPtr() argument
1688 return wrap(ConstantExpr::getIntToPtr(unwrap<Constant>(ConstantVal), in LLVMConstIntToPtr()
1692 LLVMValueRef LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstBitCast() argument
1693 return wrap(ConstantExpr::getBitCast(unwrap<Constant>(ConstantVal), in LLVMConstBitCast()
1697 LLVMValueRef LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal, in LLVMConstAddrSpaceCast() argument
1699 return wrap(ConstantExpr::getAddrSpaceCast(unwrap<Constant>(ConstantVal), in LLVMConstAddrSpaceCast()
1703 LLVMValueRef LLVMConstZExtOrBitCast(LLVMValueRef ConstantVal, in LLVMConstZExtOrBitCast() argument
1705 return wrap(ConstantExpr::getZExtOrBitCast(unwrap<Constant>(ConstantVal), in LLVMConstZExtOrBitCast()
1709 LLVMValueRef LLVMConstSExtOrBitCast(LLVMValueRef ConstantVal, in LLVMConstSExtOrBitCast() argument
1711 return wrap(ConstantExpr::getSExtOrBitCast(unwrap<Constant>(ConstantVal), in LLVMConstSExtOrBitCast()
1715 LLVMValueRef LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, in LLVMConstTruncOrBitCast() argument
1717 return wrap(ConstantExpr::getTruncOrBitCast(unwrap<Constant>(ConstantVal), in LLVMConstTruncOrBitCast()
1721 LLVMValueRef LLVMConstPointerCast(LLVMValueRef ConstantVal, in LLVMConstPointerCast() argument
1723 return wrap(ConstantExpr::getPointerCast(unwrap<Constant>(ConstantVal), in LLVMConstPointerCast()
1727 LLVMValueRef LLVMConstIntCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType, in LLVMConstIntCast() argument
1729 return wrap(ConstantExpr::getIntegerCast(unwrap<Constant>(ConstantVal), in LLVMConstIntCast()
1733 LLVMValueRef LLVMConstFPCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPCast() argument
1734 return wrap(ConstantExpr::getFPCast(unwrap<Constant>(ConstantVal), in LLVMConstFPCast()
2105 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) { in LLVMSetInitializer() argument
2107 ->setInitializer(unwrap<Constant>(ConstantVal)); in LLVMSetInitializer()