Searched refs:isCast (Results 1 – 20 of 20) sorted by relevance
117 bool isCast() const { return isCast(getOpcode()); } in isCast() function151 static inline bool isCast(unsigned OpCode) { in isCast() function
133 bool isCast() const { return isCast(getOpcode()); }185 static inline bool isCast(unsigned OpCode) {
1099 bool isCast() const;
709 return I->isCast();
177 if (CastInst->isCast()) in findMatInsertPt()449 if (!CastInst->isCast()) in collectConstantCandidates()467 if (!ConstExpr->isCast()) in collectConstantCandidates()484 if (Inst->isCast()) in collectConstantCandidates()780 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()809 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
66 if (CE->getNumUses() == 1 && CE->isCast()) { in AbstractCallSite()
81 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair()83 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair()540 if (CE->isCast()) { in ConstantFoldCastInstruction()2335 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()
533 if (Instruction::isCast(Opcode) ||
1227 bool ConstantExpr::isCast() const { in isCast() function in ConstantExpr1228 return Instruction::isCast(getOpcode()); in isCast()1632 assert(Instruction::isCast(opc) && "opcode out of range"); in getCast()
1543 if (CE->isCast()) { in WriteConstantInternal()
305 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
1399 if (!CE->isCast()) in getArgumentAlignment()
87 if (CE->isCast()) in operator *()
704 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
1029 if (Instruction::isCast(Opcode)) in ConstantFoldInstOperandsImpl()1311 assert(Instruction::isCast(Opcode)); in ConstantFoldCastOperand()
396 if (CE->isCast()) in runStaticConstructorsDestructors()
3544 (Instruction::isCast(E->getOpcode()) && in getEntryCost()3545 Instruction::isCast(E->getAltOpcode()))) && in getEntryCost()4508 (Instruction::isCast(E->getOpcode()) && in vectorizeTree()4509 Instruction::isCast(E->getAltOpcode()))) && in vectorizeTree()
2432 if (Instruction::isCast(CE->getOpcode())) { in writeConstants()2610 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
297 if (TI->getNumOperands() == 1 && TI->isCast()) { in foldSelectOpOp()
9505 if (I.isCast()) in findArgumentCopyElisionCandidates()