Searched refs:ConstExpr (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 231 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-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 402 ConstantExpr *ConstExpr) { in collectConstantCandidates() argument 404 if (ConstExpr->getType()->isVectorTy()) in collectConstantCandidates() 415 auto *GEPO = cast<GEPOperator>(ConstExpr); in collectConstantCandidates() 440 ConstPtrUnionType Cand = ConstExpr; in collectConstantCandidates() 445 ConstExpr)); in collectConstantCandidates() 480 if (ConstHoistGEP && isa<GEPOperator>(ConstExpr)) in collectConstantCandidates() 484 if (!ConstExpr->isCast()) in collectConstantCandidates() 642 ConstantExpr *ConstExpr = MaxCostItr->ConstExpr; in findAndMakeBaseConstant() local 645 ConstInfo.BaseExpr = ConstExpr; in findAndMakeBaseConstant() 653 ConstCand->ConstExpr ? ConstCand->ConstExpr->getType() : nullptr; in findAndMakeBaseConstant() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | ConstantHoisting.h | 86 ConstantExpr *ConstExpr; member 89 ConstantCandidate(ConstantInt *ConstInt, ConstantExpr *ConstExpr=nullptr) : 90 ConstInt(ConstInt), ConstExpr(ConstExpr) {} in ConstInt() 185 ConstantExpr *ConstExpr);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 237 int64_t Value = ConstExpr->getValue(); in isZero() 248 int64_t Value = ConstExpr->getValue(); in isUImm0to2() 259 int64_t Value = ConstExpr->getValue(); in isUImm1() 270 int64_t Value = ConstExpr->getValue(); in isUImm2() 281 int64_t Value = ConstExpr->getValue(); in isUImm3() 292 int64_t Value = ConstExpr->getValue(); in isUImm4() 303 int64_t Value = ConstExpr->getValue(); in isUImm6() 314 int64_t Value = ConstExpr->getValue(); in isUImm7() 583 assert(ConstExpr && "Null operands!"); in addMImmOperands() 584 int64_t Value = ConstExpr->getValue(); in addMImmOperands() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZAsmPrinter.cpp | 629 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in emitInstruction() local 631 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction() 642 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in emitInstruction() local 646 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 4980 static void replaceConstatExprUsesInFuncWithInstr(ConstantExpr *ConstExpr, in replaceConstatExprUsesInFuncWithInstr() argument 4982 for (User *User : make_early_inc_range(ConstExpr->users())) in replaceConstatExprUsesInFuncWithInstr() 4985 Instr->replaceUsesOfWith(ConstExpr, ConstExpr->getAsInstruction(Instr)); in replaceConstatExprUsesInFuncWithInstr() 4992 if (auto *ConstExpr = dyn_cast<ConstantExpr>(Const)) in replaceConstantValueUsesInFuncWithInstr() local 4993 replaceConstatExprUsesInFuncWithInstr(ConstExpr, Func); in replaceConstantValueUsesInFuncWithInstr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 7158 if (auto *ConstExpr = dyn_cast<llvm::ConstantExpr>(User)) { in CheckAndReplaceExternCIFuncs() local 7159 if (ConstExpr->getOpcode() != llvm::Instruction::BitCast) in CheckAndReplaceExternCIFuncs() 7162 for (llvm::User *CEUser : ConstExpr->users()) { in CheckAndReplaceExternCIFuncs() 7169 CEs.push_back(ConstExpr); in CheckAndReplaceExternCIFuncs() 7185 for (llvm::ConstantExpr *ConstExpr : CEs) in CheckAndReplaceExternCIFuncs() 7186 ConstExpr->destroyConstant(); in CheckAndReplaceExternCIFuncs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 15080 auto *ConstExpr = dyn_cast<SCEVConstant>(Expr); in applyLoopGuards() local 15082 if (!ConstExpr || !ConstDivisor) in applyLoopGuards() 15084 ExprVal = ConstExpr->getAPInt(); in applyLoopGuards()
|