2201
2320
static unsigned char name_salt[16] = { 16, 38, 97, 12, 8, 4, 72, 196, 217, 144, 33, 124, 18, 11, 17, 253 };
2202
2321
static void setGuard(unsigned char* guardbuf)
2206
2324
memcpy(salt, name_salt, 16);
2207
2325
for(unsigned i = 16; i < 48; i++)
2328
cl_hash_data("md5", salt, 48, guardbuf, NULL);
2215
2331
static void addFPasses(FunctionPassManager &FPM, bool trusted, const TargetData *TD)
2217
2336
// Set up the optimizer pipeline. Start with registering info about how
2218
2337
// the target lays out data structures.
2219
2339
FPM.add(new TargetData(*TD));
2220
2343
// Promote allocas to registers.
2221
2344
FPM.add(createPromoteMemoryToRegisterPass());
2222
2345
FPM.add(new BrSimplifier());