Lines Matching defs:bitcast
556 /// correct type, and the caller will bitcast the function to the correct
1145 // Insert a bitcast as needed.
1288 // If load is legal, just bitcast the src pointer.
1307 // vector, use a vector insert and bitcast the result.
1418 // vector, first bitcast the source.
3402 llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(insn);
3403 if (!bitcast) return;
3406 insn = cast<llvm::Instruction>(bitcast->getOperand(0));
3407 bitcast->eraseFromParent();
3427 // %generator = bitcast %type1* %generator2 to %type2*
3428 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(generator)) {
3431 generator = cast<llvm::Instruction>(bitcast->getOperand(0));
3434 if (generator->getNextNode() != bitcast)
3437 InstsToKill.push_back(bitcast);
3481 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(result)) {
3482 if (!bitcast->hasOneUse()) break;
3483 InstsToKill.push_back(bitcast);
3484 result = bitcast->getOperand(0);
5400 // If the argument doesn't match, perform a bitcast to coerce it. This
5579 // If the callee is a bitcast of a non-variadic function to have a
5581 // bitcast. This comes up with unprototyped functions.
5590 // Get underlying value if it's a bitcast
6007 // If the argument doesn't match, perform a bitcast to coerce it.