Lines Matching refs:opc
87 unsigned opc, ///< opcode of the second cast constant expression
93 assert(CastInst::isCast(opc) && "Invalid cast opcode");
99 Instruction::CastOps secondOp = Instruction::CastOps(opc);
523 Constant *llvm::ConstantFoldCastInstruction(unsigned opc, Constant *V,
529 if (opc == Instruction::ZExt || opc == Instruction::SExt ||
530 opc == Instruction::UIToFP || opc == Instruction::SIToFP)
536 opc != Instruction::AddrSpaceCast)
544 if (unsigned newOpc = foldConstantCastPair(opc, CE, DestTy))
549 opc != Instruction::AddrSpaceCast &&
584 ConstantExpr::getCast(opc, Splat, DstEltTy));
593 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy));
600 switch (opc) {
625 APSInt IntVal(DestBitWidth, opc == Instruction::FPToUI);
698 apf.convertFromAPInt(api, opc==Instruction::SIToFP,