• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/llvmCore-3425.0.33/lib/VMCore/

Lines Matching defs:IntPtrTy

360                                  BasicBlock *InsertAtEnd, Type *IntPtrTy,
372 ArraySize = ConstantInt::get(IntPtrTy, 1);
373 else if (ArraySize->getType() != IntPtrTy) {
375 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
378 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
386 Constant *Scale = ConstantExpr::getIntegerCast(CO, IntPtrTy,
401 assert(AllocSize->getType() == IntPtrTy && "malloc arg is wrong size");
409 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy, NULL);
445 Type *IntPtrTy, Type *AllocTy,
449 return createMalloc(InsertBefore, NULL, IntPtrTy, AllocTy, AllocSize,
462 Type *IntPtrTy, Type *AllocTy,
465 return createMalloc(NULL, InsertAtEnd, IntPtrTy, AllocTy, AllocSize,
480 Type *IntPtrTy = Type::getInt8PtrTy(M->getContext());
482 Value *FreeFunc = M->getOrInsertFunction("free", VoidTy, IntPtrTy, NULL);
486 if (Source->getType() != IntPtrTy)
487 PtrCast = new BitCastInst(Source, IntPtrTy, "", InsertBefore);
490 if (Source->getType() != IntPtrTy)
491 PtrCast = new BitCastInst(Source, IntPtrTy, "", InsertAtEnd);
2076 Type *IntPtrTy) {
2092 return IntPtrTy->getScalarSizeInBits() ==
2095 return IntPtrTy->getScalarSizeInBits() ==
2101 bool CastInst::isNoopCast(Type *IntPtrTy) const {
2102 return isNoopCast(getOpcode(), getOperand(0)->getType(), getType(), IntPtrTy);
2115 Type *SrcTy, Type *MidTy, Type *DstTy, Type *IntPtrTy) {
2218 if (!IntPtrTy)
2220 unsigned PtrSize = IntPtrTy->getScalarSizeInBits();
2259 if (!IntPtrTy)
2261 unsigned PtrSize = IntPtrTy->getScalarSizeInBits();