Home
last modified time | relevance | path

Searched defs:ConstExpr (Results 1 – 15 of 15) sorted by relevance

/llvm-project/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp252 int64_t Value = ConstExpr->getValue(); in isHiImm16And() local
230 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { isHiImm16() local
266 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { isLoImm16() local
290 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { isLoImm16Signed() local
313 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); isLoImm16And() local
326 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); isImmShift() local
338 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { isLoImm21() local
368 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); isImm10() local
379 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); isCondCode() local
393 else if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Expr)) addExpr() local
466 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) addLoImm16Operands() local
490 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) addLoImm16AndOperands() local
498 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) addHiImm16Operands() local
521 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) addHiImm16AndOperands() local
529 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) addLoImm21Operands() local
864 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Op.getImm())) { shouldBeSls() local
1134 if (const MCConstantExpr *ConstExpr = IsMemoryAssignmentError() local
[all...]
/llvm-project/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp236 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { isZero() local
247 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { isUImm0to2() local
258 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { isUImm1() local
269 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { isUImm2() local
280 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { isUImm3() local
291 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { isUImm4() local
302 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { isUImm6() local
313 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { isUImm7() local
324 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { isSImm7() local
335 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(MImm.Val)) { isMImm() local
582 const auto *ConstExpr = dyn_cast<MCConstantExpr>(getMImmVal()); addMImmOperands() local
682 const auto *ConstExpr = dyn_cast<MCConstantExpr>(Op.getImm()); MorphToMISCReg() local
[all...]
/llvm-project/clang/unittests/AST/
H A DTypePrinterTest.cpp258 auto *ConstExpr = createBinOpExpr(LHS, RHS, Result); in TEST() local
273 auto *ConstExpr = createBinOpExpr(LHS, RHS, Result); in TEST() local
289 auto *ConstExpr = createBinOpExpr(LHS, RHS, Result); in TEST() local
/llvm-project/clang/test/SemaCXX/
H A Dimplicit-exception-spec.cpp19 struct ConstExpr { // expected-error {{default member initializer for 'b' needed}} struct
20 bool b = // expected-note {{declared here}}
/llvm-project/clang/test/CodeGenCXX/
H A Dcxx11-extern-constexpr.cpp63 static const int ConstExpr = 46; variable
H A Dcxx0x-initializer-stdinitializerlist.cpp454 namespace ConstExpr { namespace
/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp407 if (ConstExpr->getType()->isVectorTy()) in collectConstantCandidates() argument
483 if (ConstHoistGEP && isa<GEPOperator>(ConstExpr)) in collectConstantCandidates() local
647 ConstantExpr *ConstExpr = MaxCostItr->ConstExpr; findAndMakeBaseConstant() local
817 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) { emitBaseConstants() local
[all...]
/llvm-project/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp500 const Expr *&ConstExpr) { in retrieveIntegerConstantExpr() argument
516 const Expr *ConstExpr = nullptr; in retrieveIntegerConstantExpr() local
661 APSInt &Value, const Expr *&ConstExpr) { in retrieveRelationalIntegerConstantExpr() argument
1136 const Expr *Sym = nullptr, *ConstExpr = nullptr; checkBitwiseExpr() local
[all...]
/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h88 ConstantExpr *ConstExpr; member
/llvm-project/llvm/unittests/CodeGen/
H A DLowLevelTypeTest.cpp433 TEST(LowLevelTypeTest,ConstExpr) TEST() argument
/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp630 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); emitInstruction() local
643 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); emitInstruction() local
/llvm-project/bolt/lib/Target/AArch64/
H A DAArch64MCPlusBuilder.cpp596 auto *ConstExpr = dyn_cast<MCConstantExpr>(Expr); getTargetAddend() local
/llvm-project/llvm/unittests/IR/
H A DPatternMatch.cpp2258 TEST_F(PatternMatchTest,ConstExpr) TEST_F() argument
/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp7282 if (auto *ConstExpr = dyn_cast<llvm::ConstantExpr>(User)) { CheckAndReplaceExternCIFuncs() local
/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp15168 auto *ConstExpr = dyn_cast<SCEVConstant>(Expr); collect() local