Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:bitcast

776   // If load is legal, just bitcast the src pointer.
865 // If store is legal, just bitcast the src pointer.
1633 llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(insn);
1634 if (!bitcast) return;
1637 insn = cast<llvm::Instruction>(bitcast->getOperand(0));
1638 bitcast->eraseFromParent();
1658 // %generator = bitcast %type1* %generator2 to %type2*
1659 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(generator)) {
1662 bitcast->getOperand(0));
1665 if (generator->getNextNode() != bitcast)
1668 insnsToKill.push_back(bitcast);
1712 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(result)) {
1713 if (!bitcast->hasOneUse()) break;
1714 insnsToKill.push_back(bitcast);
1715 result = bitcast->getOperand(0);
2571 // Insert a bitcast as needed.
2695 // There are some cases where a trivial bitcast is not avoidable. The
2772 // If the argument doesn't match, perform a bitcast to coerce it. This
2865 // cases, we can't do any parameter mismatch checks. Give up and bitcast
2896 // If the callee is a bitcast of a function to a varargs pointer to function
2897 // type, check to see if we can remove the bitcast. This handles some cases
2906 if (CE->getOpcode() == llvm::Instruction::BitCast &&
3024 // If the argument doesn't match, perform a bitcast to coerce it. This