Lines Matching refs:ConstantVal

856 unsigned long long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal) {  in LLVMConstIntGetZExtValue()  argument
857 return unwrap<ConstantInt>(ConstantVal)->getZExtValue(); in LLVMConstIntGetZExtValue()
860 long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal) { in LLVMConstIntGetSExtValue() argument
861 return unwrap<ConstantInt>(ConstantVal)->getSExtValue(); in LLVMConstIntGetSExtValue()
864 double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *LosesInfo) { in LLVMConstRealGetDouble() argument
865 ConstantFP *cFP = unwrap<ConstantFP>(ConstantVal) ; in LLVMConstRealGetDouble()
973 LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal) { in LLVMGetConstOpcode() argument
974 return map_to_llvmopcode(unwrap<ConstantExpr>(ConstantVal)->getOpcode()); in LLVMGetConstOpcode()
985 LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal) { in LLVMConstNeg() argument
986 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNeg()
989 LLVMValueRef LLVMConstNSWNeg(LLVMValueRef ConstantVal) { in LLVMConstNSWNeg() argument
990 return wrap(ConstantExpr::getNSWNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNSWNeg()
993 LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal) { in LLVMConstNUWNeg() argument
994 return wrap(ConstantExpr::getNUWNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNUWNeg()
998 LLVMValueRef LLVMConstFNeg(LLVMValueRef ConstantVal) { in LLVMConstFNeg() argument
999 return wrap(ConstantExpr::getFNeg(unwrap<Constant>(ConstantVal))); in LLVMConstFNeg()
1002 LLVMValueRef LLVMConstNot(LLVMValueRef ConstantVal) { in LLVMConstNot() argument
1003 return wrap(ConstantExpr::getNot(unwrap<Constant>(ConstantVal))); in LLVMConstNot()
1152 LLVMValueRef LLVMConstGEP(LLVMValueRef ConstantVal, in LLVMConstGEP() argument
1157 nullptr, unwrap<Constant>(ConstantVal), IdxList)); in LLVMConstGEP()
1160 LLVMValueRef LLVMConstInBoundsGEP(LLVMValueRef ConstantVal, in LLVMConstInBoundsGEP() argument
1163 Constant* Val = unwrap<Constant>(ConstantVal); in LLVMConstInBoundsGEP()
1169 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument
1170 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
1174 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSExt() argument
1175 return wrap(ConstantExpr::getSExt(unwrap<Constant>(ConstantVal), in LLVMConstSExt()
1179 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstZExt() argument
1180 return wrap(ConstantExpr::getZExt(unwrap<Constant>(ConstantVal), in LLVMConstZExt()
1184 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPTrunc() argument
1185 return wrap(ConstantExpr::getFPTrunc(unwrap<Constant>(ConstantVal), in LLVMConstFPTrunc()
1189 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPExt() argument
1190 return wrap(ConstantExpr::getFPExtend(unwrap<Constant>(ConstantVal), in LLVMConstFPExt()
1194 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstUIToFP() argument
1195 return wrap(ConstantExpr::getUIToFP(unwrap<Constant>(ConstantVal), in LLVMConstUIToFP()
1199 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSIToFP() argument
1200 return wrap(ConstantExpr::getSIToFP(unwrap<Constant>(ConstantVal), in LLVMConstSIToFP()
1204 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPToUI() argument
1205 return wrap(ConstantExpr::getFPToUI(unwrap<Constant>(ConstantVal), in LLVMConstFPToUI()
1209 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPToSI() argument
1210 return wrap(ConstantExpr::getFPToSI(unwrap<Constant>(ConstantVal), in LLVMConstFPToSI()
1214 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstPtrToInt() argument
1215 return wrap(ConstantExpr::getPtrToInt(unwrap<Constant>(ConstantVal), in LLVMConstPtrToInt()
1219 LLVMValueRef LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstIntToPtr() argument
1220 return wrap(ConstantExpr::getIntToPtr(unwrap<Constant>(ConstantVal), in LLVMConstIntToPtr()
1224 LLVMValueRef LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstBitCast() argument
1225 return wrap(ConstantExpr::getBitCast(unwrap<Constant>(ConstantVal), in LLVMConstBitCast()
1229 LLVMValueRef LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal, in LLVMConstAddrSpaceCast() argument
1231 return wrap(ConstantExpr::getAddrSpaceCast(unwrap<Constant>(ConstantVal), in LLVMConstAddrSpaceCast()
1235 LLVMValueRef LLVMConstZExtOrBitCast(LLVMValueRef ConstantVal, in LLVMConstZExtOrBitCast() argument
1237 return wrap(ConstantExpr::getZExtOrBitCast(unwrap<Constant>(ConstantVal), in LLVMConstZExtOrBitCast()
1241 LLVMValueRef LLVMConstSExtOrBitCast(LLVMValueRef ConstantVal, in LLVMConstSExtOrBitCast() argument
1243 return wrap(ConstantExpr::getSExtOrBitCast(unwrap<Constant>(ConstantVal), in LLVMConstSExtOrBitCast()
1247 LLVMValueRef LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, in LLVMConstTruncOrBitCast() argument
1249 return wrap(ConstantExpr::getTruncOrBitCast(unwrap<Constant>(ConstantVal), in LLVMConstTruncOrBitCast()
1253 LLVMValueRef LLVMConstPointerCast(LLVMValueRef ConstantVal, in LLVMConstPointerCast() argument
1255 return wrap(ConstantExpr::getPointerCast(unwrap<Constant>(ConstantVal), in LLVMConstPointerCast()
1259 LLVMValueRef LLVMConstIntCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType, in LLVMConstIntCast() argument
1261 return wrap(ConstantExpr::getIntegerCast(unwrap<Constant>(ConstantVal), in LLVMConstIntCast()
1265 LLVMValueRef LLVMConstFPCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPCast() argument
1266 return wrap(ConstantExpr::getFPCast(unwrap<Constant>(ConstantVal), in LLVMConstFPCast()
1558 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) { in LLVMSetInitializer() argument
1560 ->setInitializer(unwrap<Constant>(ConstantVal)); in LLVMSetInitializer()