Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp233 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 …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp404 ConstantExpr *ConstExpr) { in collectConstantCandidates() argument
406 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() local
478 if (!ConstExpr->isCast()) in collectConstantCandidates()
638 ConstantExpr *ConstExpr = MaxCostItr->ConstExpr; in findAndMakeBaseConstant() local
641 ConstInfo.BaseExpr = ConstExpr; in findAndMakeBaseConstant()
649 ConstCand->ConstExpr ? ConstCand->ConstExpr->getType() : nullptr; in findAndMakeBaseConstant()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h86 ConstantExpr *ConstExpr; member
89 ConstantCandidate(ConstantInt *ConstInt, ConstantExpr *ConstExpr=nullptr) :
90 ConstInt(ConstInt), ConstExpr(ConstExpr) {} in ConstInt()
180 ConstantExpr *ConstExpr);
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp234 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 …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp178 ConstantExpr *ConstExpr = dyn_cast<ConstantExpr>(Op); in lowerPrintfForGpu() local
180 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() local
250 auto *GV = dyn_cast<GlobalVariable>(ConstExpr->getOperand(0)); in lowerPrintfForGpu()
427 if (auto *ConstExpr = dyn_cast<ConstantExpr>(Arg)) { in lowerPrintfForGpu() local
428 auto *GV = dyn_cast<GlobalVariable>(ConstExpr->getOperand(0)); in lowerPrintfForGpu()
/netbsd/external/apache2/llvm/dist/llvm/utils/
H A Dllvm.grm235 | Types ConstExpr
245 ConstExpr::= CastOps "(" ^ ConstVal to Types ^ ")"
334 | ConstExpr
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp511 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in emitInstruction() local
513 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()
524 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in emitInstruction() local
528 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()