Home
last modified time | relevance | path

Searched refs:constp (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/dports/cad/verilator/verilator-4.216/src/
H A DV3Simulate.h214 AstConst* constp; in allocConst() local
227 constp->user2(1); in allocConst()
238 constp->user2(1); in allocConst()
243 return constp; in allocConst()
275 return constp; in newConst()
285 return constp; in newOutConst()
310 return constp; in fetchConst()
315 return constp; in fetchOutConst()
321 if (constp) return &constp->num(); in fetchNumberNull()
326 if (constp) return &constp->num(); in fetchOutNumberNull()
[all …]
H A DV3LinkInc.cpp154 AstConst* const constp = VN_AS(nodep->lhsp(), Const); in prepost_non_stmt_visit() local
155 UASSERT_OBJ(nodep, constp, "Expecting CONST"); in prepost_non_stmt_visit()
156 AstConst* const newconstp = constp->cloneTree(true); in prepost_non_stmt_visit()
184 AstConst* const constp = VN_AS(nodep->lhsp(), Const); in prepost_stmt_visit() local
185 UASSERT_OBJ(nodep, constp, "Expecting CONST"); in prepost_stmt_visit()
187 AstConst* const newconstp = constp->cloneTree(true); in prepost_stmt_visit()
H A DV3Param.cpp100 std::unique_ptr<AstConst> constp{AstConst::parseParamLiteral( in ParameterizedHierBlocks() local
146 AstConst* const constp = VN_AS(pinp->exprp(), Const); in findByParams() local
147 UASSERT_OBJ(constp, pinp, in findByParams()
152 if (defValuep && areSame(constp, defValuep)) { in findByParams()
160 || !areSame(constp, pIt->second.get())) { in findByParams()
446 supported = !constp->isOpaque(); in checkSupportedParam()
478 pins.emplace(varp->name(), constp); in parameterizedHierBlockName()
494 params.emplace(varp->name(), constp); in parameterizedHierBlockName()
505 const AstConst* const constp in parameterizedHierBlockName() local
510 if (constp) longname += constp->num().ascii(false); in parameterizedHierBlockName()
[all …]
H A DV3HierBlock.cpp112 if (const AstConst* const constp = VN_CAST(gparam->valuep(), Const)) { in stringifyParams() local
116 if (constp->isDouble()) { in stringifyParams()
122 constp->num().toDouble()); in stringifyParams()
123 UASSERT_OBJ(0 < len && static_cast<size_t>(len) < hexFpStr.size(), constp, in stringifyParams()
126 } else if (constp->isString()) { in stringifyParams()
127 s = constp->num().toString(); in stringifyParams()
131 s = constp->num().ascii(true, true); in stringifyParams()
H A DV3Premit.cpp175 AstConst* const constp = VN_CAST(nodep, Const); in createDeepTemp() local
176 const bool useConstPool = constp // Is a constant in createDeepTemp()
177 && (constp->width() >= STATIC_CONST_MIN_WIDTH) // Large enough in createDeepTemp()
178 && !constp->num().isFourState() // Not four state in createDeepTemp()
179 && !constp->num().isString(); // Not a string in createDeepTemp()
183 varp = v3Global.rootp()->constPoolp()->findConst(constp, merge)->varp(); in createDeepTemp()
H A DV3EmitCFunc.cpp476 if (const AstConst* const constp = VN_CAST(nodep, Const)) { in emitCvtPackStr() local
478 putsQuoted(constp->num().toString()); in emitCvtPackStr()
604 void EmitCFunc::emitSetVarConstant(const string& assignString, AstConst* constp) { in emitSetVarConstant() argument
605 if (!constp->isWide()) { in emitSetVarConstant()
609 emitConstant(constp, nullptr, assignString); in emitSetVarConstant()
691 const AstConst* const constp = VN_AS(varp->valuep(), Const); in emitVarResetRecurse() local
692 if (!constp) varp->v3fatalSrc("non-const initializer for variable"); in emitVarResetRecurse()
695 out += cvtToStr(constp->num().edataWord(w)) + "U;\n"; in emitVarResetRecurse()
H A DV3Width.cpp641 if (!constp) { in visit()
699 if (!constp) { in visit()
3661 if (!constp) { in visitPatMemberRep()
5121 if (constp && !constp->num().isNegative()) { in fixWidthExtend()
5128 VL_DO_DANGLING(pushDeletep(constp), constp); in fixWidthExtend()
5176 if (constp) { in fixWidthReduce()
5182 VL_DO_DANGLING(constp->deleteTree(), constp); in fixWidthReduce()
5199 if (constp->num().autoExtend() && !constp->num().sized() && constp->width() == 1) { in fixAutoExtend()
5208 VL_DO_DANGLING(constp->deleteTree(), constp); in fixAutoExtend()
5220 num.opExtendXZ(constp->num(), constp->width()); in fixAutoExtend()
[all …]
H A DV3Const.cpp83 return constp && constp->toUQuad() == v; in isConst()
421 m_lsb += constp->toUInt(); in visit()
424 m_lsb -= constp->toUInt(); in visit()
907 UASSERT_OBJ(constp && constp->isOne(), andp->lhsp(), "TRREEOPC must meet this condition"); in matchRedundantClean()
1271 if (!constp) return false; in operandBiExtendConstShrink()
1272 if (!constp->num().isBitsZero(constp->width() - 1, subsize)) return false; in operandBiExtendConstShrink()
1279 constp->unlinkFrBack(); in operandBiExtendConstShrink()
1281 num.opAssign(constp->num()); in operandBiExtendConstShrink()
1283 VL_DO_DANGLING(constp->deleteTree(), constp); in operandBiExtendConstShrink()
1296 if (!constp) return false; in operandBiExtendConstOver()
[all …]
/dports/math/gnumeric/gnumeric-1.12.50/src/
H A Dcollect.c433 gboolean *constp) in collect_floats() argument
441 if (constp) in collect_floats()
442 *constp = FALSE; in collect_floats()
471 if (constp) { in collect_floats()
472 *constp = TRUE; in collect_floats()
531 *constp = TRUE; in collect_floats()
628 gboolean constp; in float_range_function() local
850 if (constp) in collect_float_pairs()
855 if (constp) { in collect_float_pairs()
864 if (constp) in collect_float_pairs()
[all …]
H A Dcollect.h44 gboolean *constp);
53 gboolean *constp);
/dports/games/tads/tads-3.0.8/tads3/
H A Dvmbiftf.cpp627 const char *constp; in file_write() local
721 constp = val.get_as_string(vmg0_); in file_write()
730 if (osfwb(finfo->fp, constp, vmb_get_len(constp) + VMB_LEN)) in file_write()
743 constp = vm_objp(vmg_ val.val.obj) in file_write()
776 constp = CVmObjString::cvt_to_str(vmg_ &new_str, in file_write()
781 if (finfo->charmap_write->write_file(finfo->fp, constp + VMB_LEN, in file_write()
782 vmb_get_len(constp))) in file_write()
H A Dvmfilobj.cpp1428 const char *constp; in write_text_mode() local
1435 constp = CVmObjString::cvt_to_str(vmg_ &new_str, in write_text_mode()
1440 if (charmap->write_file(get_ext()->fp, constp + VMB_LEN, in write_text_mode()
1441 vmb_get_len(constp))) in write_text_mode()
1457 const char *constp; in write_data_mode() local
1492 constp = val->get_as_string(vmg0_); in write_data_mode()
1504 oswp2(buf, vmb_get_len(constp) + 2); in write_data_mode()
1509 if (osfwb(fp, constp + VMB_LEN, vmb_get_len(constp))) in write_data_mode()
1560 constp = vm_objp(vmg_ val->val.obj) in write_data_mode()
/dports/biology/molden/molden5.8/
H A Dmopin.f19 & constp(numatm),constd(numatm),npqref(54) local
204 & constp(numatm),constd(numatm),npqref(54) local
272 & constp(numatm),constd(numatm),npqref(54) local
321 constp(i)=(2.d0*emup(i))**(npq(i)+0.5d0)/fa(j)*0.48860
351 & constp(numatm),constd(numatm),npqref(54) local
H A Dslater.f9 & constp(numatm),constd(numatm),npqref(54) local
30 conp = constp(l)*r1**(npq(l)-1)*dexp(-emup(l)*r1)
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Segmentation/Watersheds/test/
H A DitkWatershedImageFilterTest.cxx105 const itk::ProcessObject *constp = eq.GetPointer(); in itkWatershedImageFilterTest() local
106 wmppc->Execute( constp, itk::ProgressEvent() ); in itkWatershedImageFilterTest()
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/gcc/config/ns32k/
H A Dns32k.c852 int constp = (GET_CODE (bytes_rtx) == CONST_INT); in expand_block_move() local
853 int bytes = (constp ? INTVAL (bytes_rtx) : 0); in expand_block_move()
859 if (constp && bytes <= 0) in expand_block_move()
862 if (constp && bytes < 20) in expand_block_move()
905 if (constp && (align == UNITS_PER_WORD || bytes < MAX_UNALIGNED_COPY)) in expand_block_move()
923 if (constp) in expand_block_move()
943 if (!constp) in expand_block_move()
958 if (!constp) in expand_block_move()
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/gcc/config/ns32k/
H A Dns32k.c852 int constp = (GET_CODE (bytes_rtx) == CONST_INT); in expand_block_move() local
853 int bytes = (constp ? INTVAL (bytes_rtx) : 0); in expand_block_move()
859 if (constp && bytes <= 0) in expand_block_move()
862 if (constp && bytes < 20) in expand_block_move()
905 if (constp && (align == UNITS_PER_WORD || bytes < MAX_UNALIGNED_COPY)) in expand_block_move()
923 if (constp) in expand_block_move()
943 if (!constp) in expand_block_move()
958 if (!constp) in expand_block_move()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/config/sh/
H A Dsh-mem.cc55 int constp = (CONST_INT_P (operands[2])); in expand_block_move() local
56 int bytes = (constp ? INTVAL (operands[2]) : 0); in expand_block_move()
58 if (! constp) in expand_block_move()
357 int constp = CONST_INT_P (operands[3]); in sh_expand_cmpnstr() local
358 HOST_WIDE_INT bytes = constp ? INTVAL (operands[3]) : 0; in sh_expand_cmpnstr()
364 if (constp && bytes >= 0 && bytes < 32) in sh_expand_cmpnstr()
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/config/sh/
H A Dsh-mem.cc55 int constp = (CONST_INT_P (operands[2])); in expand_block_move() local
56 int bytes = (constp ? INTVAL (operands[2]) : 0); in expand_block_move()
58 if (! constp) in expand_block_move()
357 int constp = CONST_INT_P (operands[3]); in sh_expand_cmpnstr() local
358 HOST_WIDE_INT bytes = constp ? INTVAL (operands[3]) : 0; in sh_expand_cmpnstr()
364 if (constp && bytes >= 0 && bytes < 32) in sh_expand_cmpnstr()
/dports/lang/gcc9/gcc-9.4.0/gcc/config/sh/
H A Dsh-mem.cc55 int constp = (CONST_INT_P (operands[2])); in expand_block_move() local
56 int bytes = (constp ? INTVAL (operands[2]) : 0); in expand_block_move()
58 if (! constp) in expand_block_move()
357 int constp = CONST_INT_P (operands[3]); in sh_expand_cmpnstr() local
358 HOST_WIDE_INT bytes = constp ? INTVAL (operands[3]) : 0; in sh_expand_cmpnstr()
364 if (constp && bytes >= 0 && bytes < 32) in sh_expand_cmpnstr()
/dports/devel/avr-gcc/gcc-10.2.0/gcc/config/sh/
H A Dsh-mem.cc55 int constp = (CONST_INT_P (operands[2])); in expand_block_move() local
56 int bytes = (constp ? INTVAL (operands[2]) : 0); in expand_block_move()
58 if (! constp) in expand_block_move()
357 int constp = CONST_INT_P (operands[3]); in sh_expand_cmpnstr() local
358 HOST_WIDE_INT bytes = constp ? INTVAL (operands[3]) : 0; in sh_expand_cmpnstr()
364 if (constp && bytes >= 0 && bytes < 32) in sh_expand_cmpnstr()
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/config/sh/
H A Dsh-mem.cc55 int constp = (CONST_INT_P (operands[2])); in expand_block_move() local
56 int bytes = (constp ? INTVAL (operands[2]) : 0); in expand_block_move()
58 if (! constp) in expand_block_move()
357 int constp = CONST_INT_P (operands[3]); in sh_expand_cmpnstr() local
358 HOST_WIDE_INT bytes = constp ? INTVAL (operands[3]) : 0; in sh_expand_cmpnstr()
364 if (constp && bytes >= 0 && bytes < 32) in sh_expand_cmpnstr()
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/config/sh/
H A Dsh-mem.cc55 int constp = (CONST_INT_P (operands[2])); in expand_block_move() local
56 int bytes = (constp ? INTVAL (operands[2]) : 0); in expand_block_move()
58 if (! constp) in expand_block_move()
357 int constp = CONST_INT_P (operands[3]); in sh_expand_cmpnstr() local
358 HOST_WIDE_INT bytes = constp ? INTVAL (operands[3]) : 0; in sh_expand_cmpnstr()
364 if (constp && bytes >= 0 && bytes < 32) in sh_expand_cmpnstr()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/config/sh/
H A Dsh-mem.cc55 int constp = (CONST_INT_P (operands[2])); in expand_block_move() local
56 int bytes = (constp ? INTVAL (operands[2]) : 0); in expand_block_move()
58 if (! constp) in expand_block_move()
357 int constp = CONST_INT_P (operands[3]); in sh_expand_cmpnstr() local
358 HOST_WIDE_INT bytes = constp ? INTVAL (operands[3]) : 0; in sh_expand_cmpnstr()
364 if (constp && bytes >= 0 && bytes < 32) in sh_expand_cmpnstr()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/config/sh/
H A Dsh-mem.cc55 int constp = (CONST_INT_P (operands[2])); in expand_block_move() local
56 int bytes = (constp ? INTVAL (operands[2]) : 0); in expand_block_move()
58 if (! constp) in expand_block_move()
357 int constp = CONST_INT_P (operands[3]); in sh_expand_cmpnstr() local
358 HOST_WIDE_INT bytes = constp ? INTVAL (operands[3]) : 0; in sh_expand_cmpnstr()
364 if (constp && bytes >= 0 && bytes < 32) in sh_expand_cmpnstr()

12345678910>>...18