Searched refs:isCast (Results 1 – 20 of 20) sorted by relevance
92 bool isCast() const { return isCast(getOpcode()); } in isCast() function121 static inline bool isCast(unsigned OpCode) { in isCast() function
625 return I->isCast();
980 bool isCast() const;
217 if (CastInst->isCast()) in findMatInsertPt()311 if (Inst->isCast()) in collectConstantCandidates()333 if (!CastInst->isCast()) in collectConstantCandidates()347 if (!ConstExpr->isCast()) in collectConstantCandidates()492 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()
36 if (CE->isCast()) in CastOperand()
80 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair()82 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair()528 if (CE->isCast()) { in ConstantFoldCastInstruction()2069 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl()
429 if (Instruction::isCast(V.opcode))
1074 bool ConstantExpr::isCast() const { in isCast() function in ConstantExpr1075 return Instruction::isCast(getOpcode()); in isCast()1495 assert(Instruction::isCast(opc) && "opcode out of range"); in getCast()
1033 if (CE->isCast()) { in WriteConstantInternal()
73 return !(CE->isCast() && isa<Function>(CE->getOperand(0))); in isIndirectCall()
422 if (CE->isCast()) in visitLoadInst()698 if (CE->isCast()) in visitStoreInst()
153 if (TI->isCast()) { in FoldSelectOpOp()
251 if (CE->isCast()) in SplitStaticCtorDtor()
353 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
627 if (!CE->isCast()) in getArgumentAlignment()
664 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
899 boolean isCast) in invalidDim() argument907 else if (isCast && srcDim == 0 && srcType == CLASS in invalidDim()
1089 if (Instruction::isCast(CE->getOpcode())) { in WriteConstants()1238 if (Instruction::isCast(I.getOpcode())) { in WriteInstruction()
332 if (CE->isCast()) in runStaticConstructorsDestructors()
839 } else if (CE->isCast()) { in printConstant()