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.cpp975 Constant *ConstantFoldInstOperandsImpl(const Value *InstOrCE, unsigned Opcode, in ConstantFoldInstOperandsImpl() argument
980 Type *DestTy = InstOrCE->getType(); in ConstantFoldInstOperandsImpl()
997 if (const auto *I = dyn_cast<Instruction>(InstOrCE)) { in ConstantFoldInstOperandsImpl()
1008 if (auto *GEP = dyn_cast<GEPOperator>(InstOrCE)) { in ConstantFoldInstOperandsImpl()
1021 if (auto *CE = dyn_cast<ConstantExpr>(InstOrCE)) in ConstantFoldInstOperandsImpl()
1028 auto *C = cast<CmpInst>(InstOrCE); in ConstantFoldInstOperandsImpl()
1036 const auto *Call = cast<CallBase>(InstOrCE); in ConstantFoldInstOperandsImpl()
1048 Ops[0], cast<ExtractValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
1053 Ops[0], Ops[1], cast<InsertValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
1056 Ops[0], Ops[1], cast<ShuffleVectorInst>(InstOrCE)->getShuffleMask()); in ConstantFoldInstOperandsImpl()
[all …]