Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp232 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isHiImm16() local
233 int64_t Value = ConstExpr->getValue(); in isHiImm16()
254 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isHiImm16And() local
255 if (ConstExpr) { in isHiImm16And()
256 int64_t Value = ConstExpr->getValue(); in isHiImm16And()
268 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm16() local
269 int64_t Value = ConstExpr->getValue(); in isLoImm16()
292 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm16Signed() local
293 int64_t Value = ConstExpr->getValue(); in isLoImm16Signed()
315 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isLoImm16And() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp404 ConstantExpr *ConstExpr) { in collectConstantCandidates() argument
406 if (ConstExpr->getType()->isVectorTy()) in collectConstantCandidates()
409 GlobalVariable *BaseGV = dyn_cast<GlobalVariable>(ConstExpr->getOperand(0)); 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
474 if (ConstHoistGEP && ConstExpr->isGEPWithNoNotionalOverIndexing()) in collectConstantCandidates()
475 collectConstantCandidates(ConstCandMap, Inst, Idx, ConstExpr); in collectConstantCandidates()
478 if (!ConstExpr->isCast()) in collectConstantCandidates()
[all …]
/netbsd-src/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-src/external/apache2/llvm/dist/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp233 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isZero() local
234 int64_t Value = ConstExpr->getValue(); in isZero()
244 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUImm0to2() local
245 int64_t Value = ConstExpr->getValue(); in isUImm0to2()
255 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUImm1() local
256 int64_t Value = ConstExpr->getValue(); in isUImm1()
266 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUImm2() local
267 int64_t Value = ConstExpr->getValue(); in isUImm2()
277 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUImm3() local
278 int64_t Value = ConstExpr->getValue(); in isUImm3()
[all …]
/netbsd-src/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-src/external/apache2/llvm/dist/llvm/utils/
H A Dllvm.grm235 | Types ConstExpr
245 ConstExpr::= CastOps "(" ^ ConstVal to Types ^ ")"
334 | ConstExpr
/netbsd-src/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()