Lines Matching refs:IntTy
328 Type *IntTy = Type::getInt8Ty(Context); in TEST() local
329 ArrayType *ArrayTy = ArrayType::get(IntTy, 2); in TEST()
330 Constant *A01Vals[2] = {ConstantInt::get(IntTy, 0), in TEST()
331 ConstantInt::get(IntTy, 1)}; in TEST()
334 Constant *Global = new GlobalVariable(*M, IntTy, false, in TEST()
336 Constant *GlobalInt = ConstantExpr::getPtrToInt(Global, IntTy); in TEST()
337 Constant *A0GVals[2] = {ConstantInt::get(IntTy, 0), GlobalInt}; in TEST()
345 GlobalInt->replaceAllUsesWith(ConstantInt::get(IntTy, 1)); in TEST()
353 Type *IntTy = Type::getInt8Ty(Context); in TEST() local
354 Constant *G1 = new GlobalVariable(*M, IntTy, false, in TEST()
356 Constant *G2 = new GlobalVariable(*M, IntTy, false, in TEST()
360 Constant *Int1 = ConstantExpr::getPtrToInt(G1, IntTy); in TEST()
361 Constant *Int2 = ConstantExpr::getPtrToInt(G2, IntTy); in TEST()
365 new GlobalVariable(*M, IntTy, false, GlobalValue::ExternalLinkage, Int1); in TEST()
376 Type *IntTy = Type::getInt32Ty(Context); in TEST() local
377 Type *PtrTy = PointerType::get(IntTy, 0); in TEST()
378 auto *C1 = ConstantInt::get(IntTy, 1); in TEST()
380 *M, IntTy, false, GlobalValue::ExternalWeakLinkage, nullptr); in TEST()
381 auto *GEP = ConstantExpr::getGetElementPtr(IntTy, Placeholder, C1); in TEST()
390 auto *Alias = GlobalAlias::create(IntTy, 0, GlobalValue::ExternalLinkage, in TEST()