|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
unittests/Analysis/MemorySSATest.cpp 76 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
76 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
82 B.SetInsertPoint(Entry);
83 B.CreateCondBr(B.getTrue(), Left, Right);
83 B.CreateCondBr(B.getTrue(), Left, Right);
84 B.SetInsertPoint(Left);
86 B.CreateStore(B.getInt8(16), PointerArg);
86 B.CreateStore(B.getInt8(16), PointerArg);
94 B.SetInsertPoint(Merge);
95 LoadInst *LoadInst = B.CreateLoad(B.getInt8Ty(), PointerArg);
95 LoadInst *LoadInst = B.CreateLoad(B.getInt8Ty(), PointerArg);
114 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
114 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
120 B.SetInsertPoint(Entry);
121 B.CreateCondBr(B.getTrue(), Left, Right);
121 B.CreateCondBr(B.getTrue(), Left, Right);
122 B.SetInsertPoint(Left, Left->begin());
124 B.SetInsertPoint(Left);
125 B.CreateBr(Merge);
126 B.SetInsertPoint(Right);
127 B.CreateBr(Merge);
133 B.SetInsertPoint(Entry, Entry->begin());
134 StoreInst *EntryStore = B.CreateStore(B.getInt8(16), PointerArg);
134 StoreInst *EntryStore = B.CreateStore(B.getInt8(16), PointerArg);
140 B.SetInsertPoint(Merge, Merge->begin());
141 LoadInst *FirstLoad = B.CreateLoad(B.getInt8Ty(), PointerArg);
141 LoadInst *FirstLoad = B.CreateLoad(B.getInt8Ty(), PointerArg);
157 B.SetInsertPoint(Left, Left->begin());
158 StoreInst *LeftStore = B.CreateStore(B.getInt8(16), PointerArg);
158 StoreInst *LeftStore = B.CreateStore(B.getInt8(16), PointerArg);
168 B.SetInsertPoint(Merge, Merge->begin());
169 LoadInst *SecondLoad = B.CreateLoad(B.getInt8Ty(), PointerArg);
169 LoadInst *SecondLoad = B.CreateLoad(B.getInt8Ty(), PointerArg);
182 B.SetInsertPoint(Entry, --Entry->end());
183 StoreInst *SecondEntryStore = B.CreateStore(B.getInt8(16), PointerArg);
183 StoreInst *SecondEntryStore = B.CreateStore(B.getInt8(16), PointerArg);
204 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
204 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
210 B.SetInsertPoint(Entry);
211 B.CreateCondBr(B.getTrue(), Left, Right);
211 B.CreateCondBr(B.getTrue(), Left, Right);
212 B.SetInsertPoint(Left, Left->begin());
214 B.SetInsertPoint(Left);
215 B.CreateBr(Merge);
216 B.SetInsertPoint(Right);
217 B.CreateBr(Merge);
222 B.SetInsertPoint(Left, Left->begin());
224 StoreInst *SI = B.CreateStore(B.getInt8(16), PointerArg);
224 StoreInst *SI = B.CreateStore(B.getInt8(16), PointerArg);
234 B.SetInsertPoint(Merge, Merge->begin());
235 LoadInst *LoadInst = B.CreateLoad(B.getInt8Ty(), PointerArg);
235 LoadInst *LoadInst = B.CreateLoad(B.getInt8Ty(), PointerArg);
248 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
248 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
254 B.SetInsertPoint(Entry);
255 B.CreateCondBr(B.getTrue(), Left, Right);
255 B.CreateCondBr(B.getTrue(), Left, Right);
256 B.SetInsertPoint(Left, Left->begin());
258 B.SetInsertPoint(Left);
259 B.CreateBr(Merge);
260 B.SetInsertPoint(Right);
261 B.CreateBr(Merge);
264 B.SetInsertPoint(Left, Left->begin());
265 LoadInst *LoadInst1 = B.CreateLoad(B.getInt8Ty(), PointerArg);
265 LoadInst *LoadInst1 = B.CreateLoad(B.getInt8Ty(), PointerArg);
267 B.SetInsertPoint(Merge, Merge->begin());
268 B.CreateStore(B.getInt8(16), PointerArg);
268 B.CreateStore(B.getInt8(16), PointerArg);
298 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
298 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
304 B.SetInsertPoint(Entry);
306 StoreInst *EntryStore = B.CreateStore(B.getInt8(16), PointerArg);
306 StoreInst *EntryStore = B.CreateStore(B.getInt8(16), PointerArg);
307 B.CreateCondBr(B.getTrue(), Left, Right);
307 B.CreateCondBr(B.getTrue(), Left, Right);
308 B.SetInsertPoint(Left);
309 StoreInst *SideStore = B.CreateStore(B.getInt8(16), PointerArg);
309 StoreInst *SideStore = B.CreateStore(B.getInt8(16), PointerArg);
312 B.SetInsertPoint(Merge);
313 B.CreateLoad(B.getInt8Ty(), PointerArg);
313 B.CreateLoad(B.getInt8Ty(), PointerArg);
334 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
334 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
340 B.SetInsertPoint(Entry);
342 StoreInst *EntryStore = B.CreateStore(B.getInt8(16), PointerArg);
342 StoreInst *EntryStore = B.CreateStore(B.getInt8(16), PointerArg);
343 B.CreateCondBr(B.getTrue(), Left, Right);
343 B.CreateCondBr(B.getTrue(), Left, Right);
344 B.SetInsertPoint(Left);
345 auto *SideStore = B.CreateStore(B.getInt8(16), PointerArg);
345 auto *SideStore = B.CreateStore(B.getInt8(16), PointerArg);
348 B.SetInsertPoint(Merge);
349 auto *MergeLoad = B.CreateLoad(B.getInt8Ty(), PointerArg);
349 auto *MergeLoad = B.CreateLoad(B.getInt8Ty(), PointerArg);
380 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
380 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
386 B.SetInsertPoint(Entry);
388 StoreInst *EntryStore = B.CreateStore(B.getInt8(16), PointerArg);
388 StoreInst *EntryStore = B.CreateStore(B.getInt8(16), PointerArg);
389 B.CreateCondBr(B.getTrue(), Left, Right);
389 B.CreateCondBr(B.getTrue(), Left, Right);
390 B.SetInsertPoint(Left);
391 auto *SideStore = B.CreateStore(B.getInt8(16), PointerArg);
391 auto *SideStore = B.CreateStore(B.getInt8(16), PointerArg);
394 B.SetInsertPoint(Merge);
395 auto *MergeLoad = B.CreateLoad(B.getInt8Ty(), PointerArg);
395 auto *MergeLoad = B.CreateLoad(B.getInt8Ty(), PointerArg);
424 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
424 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
430 B.SetInsertPoint(Entry);
432 StoreInst *EntryStore = B.CreateStore(B.getInt8(16), PointerArg);
432 StoreInst *EntryStore = B.CreateStore(B.getInt8(16), PointerArg);
433 B.CreateCondBr(B.getTrue(), Left, Right);
433 B.CreateCondBr(B.getTrue(), Left, Right);
434 B.SetInsertPoint(Left);
435 auto *SideStore = B.CreateStore(B.getInt8(16), PointerArg);
435 auto *SideStore = B.CreateStore(B.getInt8(16), PointerArg);
438 B.SetInsertPoint(Merge);
439 auto *MergeLoad = B.CreateLoad(B.getInt8Ty(), PointerArg);
439 auto *MergeLoad = B.CreateLoad(B.getInt8Ty(), PointerArg);
479 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
479 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
485 B.SetInsertPoint(Entry);
486 B.CreateCondBr(B.getTrue(), Left, Right);
486 B.CreateCondBr(B.getTrue(), Left, Right);
487 B.SetInsertPoint(Left);
489 StoreInst *StoreInst = B.CreateStore(B.getInt8(16), PointerArg);
489 StoreInst *StoreInst = B.CreateStore(B.getInt8(16), PointerArg);
492 B.SetInsertPoint(Merge);
493 LoadInst *LoadInst = B.CreateLoad(B.getInt8Ty(), PointerArg);
493 LoadInst *LoadInst = B.CreateLoad(B.getInt8Ty(), PointerArg);
524 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
524 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
530 B.SetInsertPoint(Entry);
531 B.CreateCondBr(B.getTrue(), Left, Right);
531 B.CreateCondBr(B.getTrue(), Left, Right);
532 B.SetInsertPoint(Left);
534 StoreInst *StoreInst = B.CreateStore(B.getInt8(16), PointerArg);
534 StoreInst *StoreInst = B.CreateStore(B.getInt8(16), PointerArg);
537 B.SetInsertPoint(Merge);
538 LoadInst *LoadInst = B.CreateLoad(B.getInt8Ty(), PointerArg);
538 LoadInst *LoadInst = B.CreateLoad(B.getInt8Ty(), PointerArg);
597 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
599 B.SetInsertPoint(BasicBlock::Create(C, "", F));
601 Value *Alloca = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
602 StoreInst *S1 = B.CreateStore(ConstantInt::get(Int8, 0), Alloca);
603 StoreInst *S2 = B.CreateStore(ConstantInt::get(Int8, 1), Alloca);
604 StoreInst *S3 = B.CreateStore(ConstantInt::get(Int8, 2), Alloca);
628 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
630 B.SetInsertPoint(BasicBlock::Create(C, "", F));
632 Value *Alloca = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
633 Instruction *SI = B.CreateStore(ConstantInt::get(Int8, 0), Alloca);
634 Instruction *LI = B.CreateLoad(Int8, Alloca);
658 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
660 B.SetInsertPoint(BasicBlock::Create(C, "", F));
662 Value *Alloca = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
663 StoreInst *SI = B.CreateStore(ConstantInt::get(Int8, 0), Alloca);
702 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
704 B.SetInsertPoint(BasicBlock::Create(C, "A", F));
708 Value *AllocA = B.CreateAlloca(Int8, One, "a");
709 Value *AllocB = B.CreateAlloca(Int8, One, "b");
713 B.CreateCondBr(UndefValue::get(Type::getInt1Ty(C)), IfThen, IfEnd);
715 B.SetInsertPoint(IfThen);
716 Instruction *FirstStore = B.CreateStore(Zero, AllocA);
717 B.CreateStore(Zero, AllocB);
718 Instruction *ALoad0 = B.CreateLoad(Int8, AllocA, "");
719 Instruction *BStore = B.CreateStore(Zero, AllocB);
722 Instruction *KillStore = B.CreateStore(Zero, AllocA);
723 Instruction *ALoad = B.CreateLoad(Int8, AllocA, "");
724 B.CreateBr(IfEnd);
726 B.SetInsertPoint(IfEnd);
727 Instruction *BelowPhi = B.CreateStore(Zero, AllocA);
766 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
768 B.SetInsertPoint(BasicBlock::Create(C, "", F));
771 Value *AllocA = B.CreateAlloca(Int8, One, "");
773 Instruction *Store = B.CreateStore(One, AllocA);
774 Instruction *Load = B.CreateLoad(Int8, AllocA);
795 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
797 B.SetInsertPoint(BasicBlock::Create(C, "", F));
799 Value *AllocaA = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
800 Instruction *SIA = B.CreateStore(ConstantInt::get(Int8, 0), AllocaA);
801 Value *AllocaB = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "B");
802 Instruction *SIB = B.CreateStore(ConstantInt::get(Int8, 0), AllocaB);
803 Instruction *LIA = B.CreateLoad(Int8, AllocaA);
826 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
828 B.SetInsertPoint(BasicBlock::Create(C, "", F));
831 Value *A = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
832 Value *B_ = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "B");
833 Value *C = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "C");
835 StoreInst *StoreA0 = B.CreateStore(ConstantInt::get(Int8, 0), A);
836 StoreInst *StoreB = B.CreateStore(ConstantInt::get(Int8, 0), B_);
837 LoadInst *LoadB = B.CreateLoad(Int8, B_);
838 StoreInst *StoreA1 = B.CreateStore(ConstantInt::get(Int8, 4), A);
839 StoreInst *StoreC = B.CreateStore(ConstantInt::get(Int8, 4), C);
840 StoreInst *StoreA2 = B.CreateStore(ConstantInt::get(Int8, 4), A);
841 LoadInst *LoadC = B.CreateLoad(Int8, C);
1004 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
1006 B.SetInsertPoint(BasicBlock::Create(C, "", F));
1008 Value *AllocaA = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
1009 Value *AllocaB = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "B");
1011 B.CreateStore(ConstantInt::get(Int8, 1), AllocaB);
1013 LoadInst *LA1 = B.CreateLoad(Int8, AllocaA, "");
1015 LoadInst *LA2 = B.CreateLoad(Int8, AllocaA, "");
1017 B.CreateStore(ConstantInt::get(Int8, 1), AllocaA);
1019 LoadInst *LA3 = B.CreateLoad(Int8, AllocaA, "");
1021 LoadInst *LA4 = B.CreateLoad(Int8, AllocaA, "");
1047 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
1049 B.SetInsertPoint(BasicBlock::Create(C, "", F));
1051 Value *AllocaA = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
1052 Value *AllocaB = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "B");
1053 StoreInst *SA1 = B.CreateStore(ConstantInt::get(Int8, 1), AllocaA);
1054 StoreInst *SB1 = B.CreateStore(ConstantInt::get(Int8, 1), AllocaB);
1055 StoreInst *SA2 = B.CreateStore(ConstantInt::get(Int8, 2), AllocaA);
1056 StoreInst *SB2 = B.CreateStore(ConstantInt::get(Int8, 2), AllocaB);
1057 StoreInst *SA3 = B.CreateStore(ConstantInt::get(Int8, 3), AllocaA);
1058 StoreInst *SB3 = B.CreateStore(ConstantInt::get(Int8, 3), AllocaB);
1096 F = Function::Create(FunctionType::get(B.getVoidTy(),
1097 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1097 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1100 B.SetInsertPoint(BasicBlock::Create(C, "", F));
1105 B.CreateStore(ConstantInt::get(Int8, 1), PointerB);
1106 LoadInst *LA1 = B.CreateLoad(Int8, PointerA, "");
1107 B.CreateStore(ConstantInt::get(Int8, 0), PointerA);
1108 LoadInst *LB1 = B.CreateLoad(Int8, PointerB, "");
1109 B.CreateStore(ConstantInt::get(Int8, 0), PointerA);
1110 LoadInst *LA2 = B.CreateLoad(Int8, PointerA, "");
1111 B.CreateStore(ConstantInt::get(Int8, 0), PointerB);
1112 LoadInst *LB2 = B.CreateLoad(Int8, PointerB, "");
1138 F = Function::Create(FunctionType::get(B.getVoidTy(),
1139 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1139 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1142 B.SetInsertPoint(BasicBlock::Create(C, "", F));
1147 Value *AllocaC = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "C");
1149 StoreInst *SA1 = B.CreateStore(ConstantInt::get(Int8, 0), PointerA);
1151 StoreInst *SB1 = B.CreateStore(ConstantInt::get(Int8, 1), PointerB);
1153 StoreInst *SC1 = B.CreateStore(ConstantInt::get(Int8, 2), AllocaC);
1155 StoreInst *SA2 = B.CreateStore(ConstantInt::get(Int8, 3), PointerA);
1157 StoreInst *SB2 = B.CreateStore(ConstantInt::get(Int8, 4), PointerB);
1159 StoreInst *SC2 = B.CreateStore(ConstantInt::get(Int8, 5), AllocaC);
1161 StoreInst *SB3 = B.CreateStore(ConstantInt::get(Int8, 6), PointerB);
1333 F = Function::Create(FunctionType::get(B.getVoidTy(),
1334 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1334 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1337 B.SetInsertPoint(BasicBlock::Create(C, "", F));
1339 Value *AllocA = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
1340 Value *AllocB = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "B");
1342 StoreInst *StoreA = B.CreateStore(ConstantInt::get(Int8, 0), AllocA);
1343 StoreInst *StoreB = B.CreateStore(ConstantInt::get(Int8, 1), AllocB);
1344 StoreInst *StoreA2 = B.CreateStore(ConstantInt::get(Int8, 2), AllocA);
1412 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
1412 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
1419 B.SetInsertPoint(Entry);
1421 B.SetInsertPoint(Header);
1422 B.CreateStore(B.getInt8(16), PointerArg);
1422 B.CreateStore(B.getInt8(16), PointerArg);
1423 B.CreateCondBr(B.getTrue(), Exit, Body);
1423 B.CreateCondBr(B.getTrue(), Exit, Body);
1424 B.SetInsertPoint(Body);
1425 B.CreateStore(B.getInt8(16), PointerArg);
1425 B.CreateStore(B.getInt8(16), PointerArg);
1427 B.SetInsertPoint(Exit);
1428 StoreInst *S1 = B.CreateStore(B.getInt8(16), PointerArg);
1428 StoreInst *S1 = B.CreateStore(B.getInt8(16), PointerArg);
1441 B.SetInsertPoint(Entry);
1442 B.CreateCondBr(B.getTrue(), Header, Exit);
1442 B.CreateCondBr(B.getTrue(), Header, Exit);
1468 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
1468 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
1477 B.SetInsertPoint(Entry);
1478 Value *Alloca = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A");
1481 B.SetInsertPoint(Header);
1482 StoreInst *S1 = B.CreateStore(B.getInt8(16), PointerArg);
1482 StoreInst *S1 = B.CreateStore(B.getInt8(16), PointerArg);
1483 B.CreateCondBr(B.getTrue(), Exit, Body);
1483 B.CreateCondBr(B.getTrue(), Exit, Body);
1485 B.SetInsertPoint(Body);
1486 B.CreateStore(ConstantInt::get(Int8, 0), Alloca);
1489 B.SetInsertPoint(Exit);
1490 StoreInst *S2 = B.CreateStore(B.getInt8(16), PointerArg);
1490 StoreInst *S2 = B.CreateStore(B.getInt8(16), PointerArg);
1503 B.SetInsertPoint(Entry);
1504 B.CreateCondBr(B.getTrue(), Header, Exit);
1504 B.CreateCondBr(B.getTrue(), Header, Exit);
1540 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
1540 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
1551 B.SetInsertPoint(Entry);
1552 B.CreateCondBr(B.getTrue(), ABlock, FBlock);
1552 B.CreateCondBr(B.getTrue(), ABlock, FBlock);
1553 B.SetInsertPoint(ABlock);
1554 B.CreateCondBr(B.getTrue(), BBlock, CBlock);
1554 B.CreateCondBr(B.getTrue(), BBlock, CBlock);
1555 B.SetInsertPoint(BBlock);
1557 B.SetInsertPoint(CBlock);
1559 B.SetInsertPoint(DBlock);
1561 B.SetInsertPoint(FBlock);
1562 B.CreateStore(B.getInt8(16), PointerArg);
1562 B.CreateStore(B.getInt8(16), PointerArg);
1572 B.SetInsertPoint(FBlock);
1573 B.CreateCondBr(B.getTrue(), CBlock, EBlock);
1573 B.CreateCondBr(B.getTrue(), CBlock, EBlock);