Home | History | Annotate | Download | only in AsmParser

Lines Matching full:assert_true

73   ASSERT_TRUE(Mod != nullptr);
78 ASSERT_TRUE(V);
80 ASSERT_TRUE(isa<ConstantFP>(V));
84 ASSERT_TRUE(V);
86 ASSERT_TRUE(isa<ConstantInt>(V));
90 ASSERT_TRUE(V);
92 ASSERT_TRUE(isa<ConstantDataVector>(V));
95 ASSERT_TRUE(V);
96 ASSERT_TRUE(isa<ConstantInt>(V));
99 ASSERT_TRUE(V);
100 ASSERT_TRUE(isa<BlockAddress>(V));
103 ASSERT_TRUE(V);
104 ASSERT_TRUE(isa<UndefValue>(V));
138 ASSERT_TRUE(Mod != nullptr);
145 ASSERT_TRUE(V);
146 ASSERT_TRUE(isa<ConstantExpr>(V));
151 ASSERT_TRUE(V);
152 ASSERT_TRUE(isa<ConstantExpr>(V));
174 ASSERT_TRUE(Mod != nullptr);
180 ASSERT_TRUE(Ty);
181 ASSERT_TRUE(Ty->isIntegerTy());
182 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
186 ASSERT_TRUE(Ty);
187 ASSERT_TRUE(Ty->isIntegerTy());
188 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 13);
192 ASSERT_TRUE(Ty);
193 ASSERT_TRUE(Ty->isFloatTy());
196 ASSERT_TRUE(Ty);
197 ASSERT_TRUE(Ty->isDoubleTy());
202 ASSERT_TRUE(Ty);
203 ASSERT_TRUE(Ty->isStructTy());
207 ASSERT_TRUE(ST->getNumElements() == 2);
210 ASSERT_TRUE(Ty->isIntegerTy());
211 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
216 ASSERT_TRUE(Ty);
217 ASSERT_TRUE(Ty->isStructTy());
221 ASSERT_TRUE(ST->getNumElements() == 4);
224 ASSERT_TRUE(Ty->isIntegerTy());
225 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
230 ASSERT_TRUE(Ty);
231 ASSERT_TRUE(Ty->isVectorTy());
235 ASSERT_TRUE(VT->getNumElements() == 5);
236 ASSERT_TRUE(VT->getBitWidth() == 160);
238 ASSERT_TRUE(Ty->isIntegerTy());
239 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
243 ASSERT_TRUE(Ty);
244 ASSERT_TRUE(Ty->isStructTy());
247 ASSERT_TRUE(ST->isOpaque());
252 ASSERT_TRUE(Ty);
253 ASSERT_TRUE(Ty->isPointerTy());
257 ASSERT_TRUE(Ty->isIntegerTy());
258 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
262 ASSERT_TRUE(Ty);
263 ASSERT_TRUE(Ty->isPointerTy());
267 ASSERT_TRUE(Ty->isPointerTy());
271 ASSERT_TRUE(Ty->isIntegerTy());
272 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
276 ASSERT_TRUE(!Ty);
298 ASSERT_TRUE(Mod != nullptr);
305 ASSERT_TRUE(Ty);
306 ASSERT_TRUE(Ty->isIntegerTy());
307 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
308 ASSERT_TRUE(Read == 3);
312 ASSERT_TRUE(Ty);
313 ASSERT_TRUE(Ty->isIntegerTy());
314 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 13);
315 ASSERT_TRUE(Read == 3);
319 ASSERT_TRUE(Ty);
320 ASSERT_TRUE(Ty->isFloatTy());
321 ASSERT_TRUE(Read == 5);
324 ASSERT_TRUE(Ty);
325 ASSERT_TRUE(Ty->isDoubleTy());
326 ASSERT_TRUE(Read == 6);
331 ASSERT_TRUE(Ty);
332 ASSERT_TRUE(Ty->isStructTy());
333 ASSERT_TRUE(Read == 3);
337 ASSERT_TRUE(ST->getNumElements() == 2);
340 ASSERT_TRUE(Ty->isIntegerTy());
341 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
346 ASSERT_TRUE(Ty);
347 ASSERT_TRUE(Ty->isStructTy());
348 ASSERT_TRUE(Read == 2);
352 ASSERT_TRUE(ST->getNumElements() == 4);
355 ASSERT_TRUE(Ty->isIntegerTy());
356 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
361 ASSERT_TRUE(Ty);
362 ASSERT_TRUE(Ty->isVectorTy());
363 ASSERT_TRUE(Read == 9);
367 ASSERT_TRUE(VT->getNumElements() == 5);
368 ASSERT_TRUE(VT->getBitWidth() == 160);
370 ASSERT_TRUE(Ty->isIntegerTy());
371 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
375 ASSERT_TRUE(Ty);
376 ASSERT_TRUE(Ty->isStructTy());
377 ASSERT_TRUE(Read == 7);
380 ASSERT_TRUE(ST->isOpaque());
385 ASSERT_TRUE(Ty);
386 ASSERT_TRUE(Ty->isPointerTy());
387 ASSERT_TRUE(Read == 4);
391 ASSERT_TRUE(Ty->isIntegerTy());
392 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
396 ASSERT_TRUE(Ty);
397 ASSERT_TRUE(Ty->isPointerTy());
398 ASSERT_TRUE(Read == 5);
402 ASSERT_TRUE(Ty->isPointerTy());
406 ASSERT_TRUE(Ty->isIntegerTy());
407 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
411 ASSERT_TRUE(Ty);
412 ASSERT_TRUE(Ty->isIntegerTy());
413 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
415 ASSERT_TRUE(Read == 4);