Home
last modified time | relevance | path

Searched refs:ConstExpr (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp231 int64_t Value = ConstExpr->getValue(); in isHiImm16()
253 if (ConstExpr) { in isHiImm16And()
254 int64_t Value = ConstExpr->getValue(); in isHiImm16And()
267 int64_t Value = ConstExpr->getValue(); in isLoImm16()
314 if (ConstExpr) { in isLoImm16And()
327 if (!ConstExpr) in isImmShift()
329 int64_t Value = ConstExpr->getValue(); in isImmShift()
369 if (!ConstExpr) in isImm10()
371 int64_t Value = ConstExpr->getValue(); in isImm10()
380 if (!ConstExpr) in isCondCode()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp391 ConstantExpr *ConstExpr) { in collectConstantCandidates() argument
393 if (ConstExpr->getType()->isVectorTy()) in collectConstantCandidates()
404 auto *GEPO = cast<GEPOperator>(ConstExpr); in collectConstantCandidates()
419 ConstPtrUnionType Cand = ConstExpr; in collectConstantCandidates()
424 ConstExpr)); in collectConstantCandidates()
457 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) { in collectConstantCandidates() local
463 if (!ConstExpr->isCast()) in collectConstantCandidates()
614 ConstantExpr *ConstExpr = MaxCostItr->ConstExpr; in findAndMakeBaseConstant() local
617 ConstInfo.BaseExpr = ConstExpr; in findAndMakeBaseConstant()
625 ConstCand->ConstExpr ? ConstCand->ConstExpr->getType() : nullptr; in findAndMakeBaseConstant()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h84 ConstantExpr *ConstExpr; member
87 ConstantCandidate(ConstantInt *ConstInt, ConstantExpr *ConstExpr=nullptr) :
88 ConstInt(ConstInt), ConstExpr(ConstExpr) {} in ConstInt()
176 ConstantExpr *ConstExpr);
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp442 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in EmitInstruction() local
444 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in EmitInstruction()
455 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in EmitInstruction() local
459 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in EmitInstruction()