Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp998 Constant *ConstantFoldInstOperandsImpl(const Value *InstOrCE, unsigned Opcode, in ConstantFoldInstOperandsImpl() argument
1003 Type *DestTy = InstOrCE->getType(); in ConstantFoldInstOperandsImpl()
1020 if (const auto *I = dyn_cast<Instruction>(InstOrCE)) { in ConstantFoldInstOperandsImpl()
1031 if (auto *GEP = dyn_cast<GEPOperator>(InstOrCE)) { in ConstantFoldInstOperandsImpl()
1044 if (auto *CE = dyn_cast<ConstantExpr>(InstOrCE)) in ConstantFoldInstOperandsImpl()
1051 auto *C = cast<CmpInst>(InstOrCE); in ConstantFoldInstOperandsImpl()
1059 const auto *Call = cast<CallBase>(InstOrCE); in ConstantFoldInstOperandsImpl()
1071 Ops[0], cast<ExtractValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
1076 Ops[0], Ops[1], cast<InsertValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
1079 Ops[0], Ops[1], cast<ShuffleVectorInst>(InstOrCE)->getShuffleMask()); in ConstantFoldInstOperandsImpl()
[all …]