Lines Matching refs:bitcast
623 // If load is legal, just bitcast the src pointer.
711 // If store is legal, just bitcast the src pointer.
1267 llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(insn);
1268 if (!bitcast) return;
1271 insn = cast<llvm::Instruction>(bitcast->getOperand(0));
1272 bitcast->eraseFromParent();
1292 // %generator = bitcast %type1* %generator2 to %type2*
1293 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(generator)) {
1296 generator = cast<llvm::Instruction>(bitcast->getOperand(0));
1299 if (generator->getNextNode() != bitcast)
1302 insnsToKill.push_back(bitcast);
1335 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(result)) {
1336 if (!bitcast->hasOneUse()) break;
1337 insnsToKill.push_back(bitcast);
1338 result = bitcast->getOperand(0);
1848 // Insert a bitcast as needed.
1969 // If the argument doesn't match, perform a bitcast to coerce it. This
2036 // If the callee is a bitcast of a function to a varargs pointer to function
2037 // type, check to see if we can remove the bitcast. This handles some cases
2046 if (CE->getOpcode() == llvm::Instruction::BitCast &&
2156 // If the argument doesn't match, perform a bitcast to coerce it. This