Lines Matching refs:InstOrCE
975 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()
1058 const auto *LI = dyn_cast<LoadInst>(InstOrCE); in ConstantFoldInstOperandsImpl()