Lines Matching refs:ConstantExpr
292 return ConstantExpr::getIntToPtr(fun_addr_int, fun_ptr_ty); in BuildFunctionPointer()
789 m_CFStringCreateWithBytes = ConstantExpr::getIntToPtr(CFSCWB_addr_int, CFSCWB_ptr_ty); in RewriteObjCConstString()
798 …Constant *bytes_arg = cstr ? ConstantExpr::getBitCast(cstr, i8_ptr_ty) : Constant::getNull… in RewriteObjCConstString()
924 ConstantExpr *nsstring_expr = dyn_cast<ConstantExpr>(nsstring_member); in RewriteObjCConstStrings()
1094 ConstantExpr *osr_initializer_expr = dyn_cast<ConstantExpr>(osr_initializer); in RewriteObjCSelector()
1156 m_sel_registerName = ConstantExpr::getIntToPtr(srN_addr_int, srN_ptr_ty); in RewriteObjCSelector()
1161 …Constant *omvn_pointer = ConstantExpr::getBitCast(_objc_meth_var_name_, Type::getInt8PtrTy(m_modul… in RewriteObjCSelector()
1478 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(llvm_value_ptr)) in MaybeHandleVariable()
1607 Value *symbol_addr_ptr = ConstantExpr::getIntToPtr(symbol_addr_int, symbol_type); in HandleSymbol()
1691 … Constant *class_bitcast = ConstantExpr::getIntToPtr(class_addr, load_instruction->getType()); in HandleObjCClass()
1922 ConstantExpr *const_expr = dyn_cast<ConstantExpr>(*ui); in ReplaceStrings()
1935 …Constant *bit_cast = ConstantExpr::getBitCast(new_initializer, const_expr->getOperand(0)->getType(… in ReplaceStrings()
1942 …Constant *bit_cast = ConstantExpr::getBitCast(new_initializer, store_inst->getValueOperand()->getT… in ReplaceStrings()
2083 ConstantExpr *CE = NULL; in isGuardVariableRef()
2085 if ((CE = dyn_cast<ConstantExpr>(V))) in isGuardVariableRef()
2204 if (ConstantExpr *constant_expr = dyn_cast<ConstantExpr>(constant)) in UnfoldConstant()
2513 …llvm::Constant *reloc_getelementptr = ConstantExpr::getGetElementPtr(m_reloc_placeholder, offsets); in BuildRelocation()
2514 llvm::Constant *reloc_getbitcast = ConstantExpr::getBitCast(reloc_getelementptr, type); in BuildRelocation()
2544 …Constant *relocated_bitcast = ConstantExpr::getIntToPtr(relocated_addr, llvm::Type::getInt8PtrTy(m… in CompleteDataAllocation()