Lines Matching refs:opc
76 unsigned opc, ///< opcode of the second cast constant expression
82 assert(CastInst::isCast(opc) && "Invalid cast opcode");
88 Instruction::CastOps secondOp = Instruction::CastOps(opc);
510 Constant *llvm::ConstantFoldCastInstruction(unsigned opc, Constant *V,
516 if (opc == Instruction::ZExt || opc == Instruction::SExt ||
517 opc == Instruction::UIToFP || opc == Instruction::SIToFP)
530 if (unsigned newOpc = foldConstantCastPair(opc, CE, DestTy))
535 opc != Instruction::AddrSpaceCast) {
563 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy));
570 switch (opc) {
596 (void) V.convertToInteger(x, DestBitWidth, opc==Instruction::FPToSI,
657 opc==Instruction::SIToFP,