Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp991 Constant *ConstantFoldInstOperandsImpl(const Value *InstOrCE, unsigned Opcode, in ConstantFoldInstOperandsImpl() argument
995 Type *DestTy = InstOrCE->getType(); in ConstantFoldInstOperandsImpl()
1012 if (const auto *I = dyn_cast<Instruction>(InstOrCE)) { in ConstantFoldInstOperandsImpl()
1022 if (auto *GEP = dyn_cast<GEPOperator>(InstOrCE)) { in ConstantFoldInstOperandsImpl()
1035 if (auto *CE = dyn_cast<ConstantExpr>(InstOrCE)) { in ConstantFoldInstOperandsImpl()
1046 auto *C = cast<CmpInst>(InstOrCE); in ConstantFoldInstOperandsImpl()
1054 const auto *Call = cast<CallBase>(InstOrCE); in ConstantFoldInstOperandsImpl()
1065 Ops[0], cast<ExtractValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
1070 Ops[0], Ops[1], cast<InsertValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
1073 Ops[0], Ops[1], cast<ShuffleVectorInst>(InstOrCE)->getShuffleMask()); in ConstantFoldInstOperandsImpl()
[all …]