Searched refs:ConstExpr (Results 1 – 7 of 7) sorted by relevance
233 int64_t Value = ConstExpr->getValue(); in isHiImm16()255 if (ConstExpr) { in isHiImm16And()256 int64_t Value = ConstExpr->getValue(); in isHiImm16And()269 int64_t Value = ConstExpr->getValue(); in isLoImm16()316 if (ConstExpr) { in isLoImm16And()329 if (!ConstExpr) in isImmShift()331 int64_t Value = ConstExpr->getValue(); in isImmShift()371 if (!ConstExpr) in isImm10()373 int64_t Value = ConstExpr->getValue(); in isImm10()382 if (!ConstExpr) in isCondCode()[all …]
404 ConstantExpr *ConstExpr) { in collectConstantCandidates() argument406 if (ConstExpr->getType()->isVectorTy()) in collectConstantCandidates()417 auto *GEPO = cast<GEPOperator>(ConstExpr); in collectConstantCandidates()434 ConstPtrUnionType Cand = ConstExpr; in collectConstantCandidates()439 ConstExpr)); in collectConstantCandidates()472 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) { in collectConstantCandidates() local478 if (!ConstExpr->isCast()) in collectConstantCandidates()638 ConstantExpr *ConstExpr = MaxCostItr->ConstExpr; in findAndMakeBaseConstant() local641 ConstInfo.BaseExpr = ConstExpr; in findAndMakeBaseConstant()649 ConstCand->ConstExpr ? ConstCand->ConstExpr->getType() : nullptr; in findAndMakeBaseConstant()[all …]
86 ConstantExpr *ConstExpr; member89 ConstantCandidate(ConstantInt *ConstInt, ConstantExpr *ConstExpr=nullptr) :90 ConstInt(ConstInt), ConstExpr(ConstExpr) {} in ConstInt()180 ConstantExpr *ConstExpr);
234 int64_t Value = ConstExpr->getValue(); in isZero()245 int64_t Value = ConstExpr->getValue(); in isUImm0to2()256 int64_t Value = ConstExpr->getValue(); in isUImm1()267 int64_t Value = ConstExpr->getValue(); in isUImm2()278 int64_t Value = ConstExpr->getValue(); in isUImm3()289 int64_t Value = ConstExpr->getValue(); in isUImm4()300 int64_t Value = ConstExpr->getValue(); in isUImm6()311 int64_t Value = ConstExpr->getValue(); in isUImm7()580 assert(ConstExpr && "Null operands!"); in addMImmOperands()581 int64_t Value = ConstExpr->getValue(); in addMImmOperands()[all …]
178 ConstantExpr *ConstExpr = dyn_cast<ConstantExpr>(Op); in lowerPrintfForGpu() local180 if (ConstExpr) { in lowerPrintfForGpu()181 GlobalVariable *GVar = dyn_cast<GlobalVariable>(ConstExpr->getOperand(0)); in lowerPrintfForGpu()249 if (auto *ConstExpr = dyn_cast<ConstantExpr>(Arg)) { in lowerPrintfForGpu() local250 auto *GV = dyn_cast<GlobalVariable>(ConstExpr->getOperand(0)); in lowerPrintfForGpu()427 if (auto *ConstExpr = dyn_cast<ConstantExpr>(Arg)) { in lowerPrintfForGpu() local428 auto *GV = dyn_cast<GlobalVariable>(ConstExpr->getOperand(0)); in lowerPrintfForGpu()
235 | Types ConstExpr245 ConstExpr::= CastOps "(" ^ ConstVal to Types ^ ")"334 | ConstExpr
511 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in emitInstruction() local513 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()524 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in emitInstruction() local528 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()