reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
84 assert(I.isBitwiseLogicOp() && "Unexpected opcode for bswap simplifying"); 86 Value *OldLHS = I.getOperand(0); 87 Value *OldRHS = I.getOperand(1); 105 NewRHS = ConstantInt::get(I.getType(), C->byteSwap()); 109 Value *BinOp = Builder.CreateBinOp(I.getOpcode(), NewLHS, NewRHS); 110 Function *F = Intrinsic::getDeclaration(I.getModule(), Intrinsic::bswap, 111 I.getType());