Lines Matching refs:Name

268 CallInst::CallInst(Value *Func, const Twine &Name,
275 init(Func, Name);
278 CallInst::CallInst(Value *Func, const Twine &Name,
285 init(Func, Name);
388 const Twine &Name) {
443 Result = new BitCastInst(MCall, AllocPtrType, Name, InsertBefore);
450 Result = new BitCastInst(MCall, AllocPtrType, Name);
473 const Twine &Name) {
475 ArraySize, MallocF, Name);
489 Function *MallocF, const Twine &Name) {
491 ArraySize, MallocF, Name);
1118 AllocaInst::AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore)
1119 : AllocaInst(Ty, /*ArraySize=*/nullptr, Name, InsertBefore) {}
1121 AllocaInst::AllocaInst(Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd)
1122 : AllocaInst(Ty, /*ArraySize=*/nullptr, Name, InsertAtEnd) {}
1124 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name,
1126 : AllocaInst(Ty, ArraySize, /*Align=*/0, Name, InsertBefore) {}
1128 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name,
1130 : AllocaInst(Ty, ArraySize, /*Align=*/0, Name, InsertAtEnd) {}
1133 const Twine &Name, Instruction *InsertBefore)
1139 setName(Name);
1143 const Twine &Name, BasicBlock *InsertAtEnd)
1149 setName(Name);
1194 LoadInst::LoadInst(Value *Ptr, const Twine &Name, Instruction *InsertBef)
1195 : LoadInst(Ptr, Name, /*isVolatile=*/false, InsertBef) {}
1197 LoadInst::LoadInst(Value *Ptr, const Twine &Name, BasicBlock *InsertAE)
1198 : LoadInst(Ptr, Name, /*isVolatile=*/false, InsertAE) {}
1200 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile,
1202 : LoadInst(Ty, Ptr, Name, isVolatile, /*Align=*/0, InsertBef) {}
1204 LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile,
1206 : LoadInst(Ptr, Name, isVolatile, /*Align=*/0, InsertAE) {}
1208 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile,
1210 : LoadInst(Ty, Ptr, Name, isVolatile, Align, NotAtomic, CrossThread,
1213 LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile,
1215 : LoadInst(Ptr, Name, isVolatile, Align, NotAtomic, CrossThread, InsertAE) {
1218 LoadInst::LoadInst(Type *Ty, Value *Ptr, const Twine &Name, bool isVolatile,
1227 setName(Name);
1230 LoadInst::LoadInst(Value *Ptr, const Twine &Name, bool isVolatile,
1240 setName(Name);
1243 LoadInst::LoadInst(Value *Ptr, const char *Name, Instruction *InsertBef)
1250 if (Name && Name[0]) setName(Name);
1253 LoadInst::LoadInst(Value *Ptr, const char *Name, BasicBlock *InsertAE)
1260 if (Name && Name[0]) setName(Name);
1263 LoadInst::LoadInst(Type *Ty, Value *Ptr, const char *Name, bool isVolatile,
1271 if (Name && Name[0]) setName(Name);
1274 LoadInst::LoadInst(Value *Ptr, const char *Name, bool isVolatile,
1282 if (Name && Name[0]) setName(Name);
1508 const Twine &Name) {
1513 setName(Name);
1615 const Twine &Name,
1625 setName(Name);
1629 const Twine &Name,
1640 setName(Name);
1656 const Twine &Name,
1666 setName(Name);
1670 const Twine &Name,
1681 setName(Name);
1703 const Twine &Name,
1716 setName(Name);
1720 const Twine &Name,
1734 setName(Name);
1822 const Twine &Name) {
1837 setName(Name);
1853 void ExtractValueInst::init(ArrayRef<unsigned> Idxs, const Twine &Name) {
1861 setName(Name);
1906 Type *Ty, const Twine &Name,
1915 setName(Name);
1919 Type *Ty, const Twine &Name,
1928 setName(Name);
2008 const Twine &Name,
2012 return new BinaryOperator(Op, S1, S2, S1->getType(), Name, InsertBefore);
2016 const Twine &Name,
2018 BinaryOperator *Res = Create(Op, S1, S2, Name);
2023 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name,
2028 Op->getType(), Name, InsertBefore);
2031 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name,
2036 Op->getType(), Name, InsertAtEnd);
2039 BinaryOperator *BinaryOperator::CreateNSWNeg(Value *Op, const Twine &Name,
2042 return BinaryOperator::CreateNSWSub(zero, Op, Name, InsertBefore);
2045 BinaryOperator *BinaryOperator::CreateNSWNeg(Value *Op, const Twine &Name,
2048 return BinaryOperator::CreateNSWSub(zero, Op, Name, InsertAtEnd);
2051 BinaryOperator *BinaryOperator::CreateNUWNeg(Value *Op, const Twine &Name,
2054 return BinaryOperator::CreateNUWSub(zero, Op, Name, InsertBefore);
2057 BinaryOperator *BinaryOperator::CreateNUWNeg(Value *Op, const Twine &Name,
2060 return BinaryOperator::CreateNUWSub(zero, Op, Name, InsertAtEnd);
2063 BinaryOperator *BinaryOperator::CreateFNeg(Value *Op, const Twine &Name,
2067 Op->getType(), Name, InsertBefore);
2070 BinaryOperator *BinaryOperator::CreateFNeg(Value *Op, const Twine &Name,
2074 Op->getType(), Name, InsertAtEnd);
2077 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
2081 Op->getType(), Name, InsertBefore);
2084 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
2088 Op->getType(), Name, InsertAtEnd);
2569 const Twine &Name, Instruction *InsertBefore) {
2573 case Trunc: return new TruncInst (S, Ty, Name, InsertBefore);
2574 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore);
2575 case SExt: return new SExtInst (S, Ty, Name, InsertBefore);
2576 case FPTrunc: return new FPTruncInst (S, Ty, Name, InsertBefore);
2577 case FPExt: return new FPExtInst (S, Ty, Name, InsertBefore);
2578 case UIToFP: return new UIToFPInst (S, Ty, Name, InsertBefore);
2579 case SIToFP: return new SIToFPInst (S, Ty, Name, InsertBefore);
2580 case FPToUI: return new FPToUIInst (S, Ty, Name, InsertBefore);
2581 case FPToSI: return new FPToSIInst (S, Ty, Name, InsertBefore);
2582 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore);
2583 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore);
2584 case BitCast: return new BitCastInst (S, Ty, Name, InsertBefore);
2585 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertBefore);
2591 const Twine &Name, BasicBlock *InsertAtEnd) {
2595 case Trunc: return new TruncInst (S, Ty, Name, InsertAtEnd);
2596 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd);
2597 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd);
2598 case FPTrunc: return new FPTruncInst (S, Ty, Name, InsertAtEnd);
2599 case FPExt: return new FPExtInst (S, Ty, Name, InsertAtEnd);
2600 case UIToFP: return new UIToFPInst (S, Ty, Name, InsertAtEnd);
2601 case SIToFP: return new SIToFPInst (S, Ty, Name, InsertAtEnd);
2602 case FPToUI: return new FPToUIInst (S, Ty, Name, InsertAtEnd);
2603 case FPToSI: return new FPToSIInst (S, Ty, Name, InsertAtEnd);
2604 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd);
2605 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd);
2606 case BitCast: return new BitCastInst (S, Ty, Name, InsertAtEnd);
2607 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertAtEnd);
2613 const Twine &Name,
2616 return Create(Instruction::BitCast, S, Ty, Name, InsertBefore);
2617 return Create(Instruction::ZExt, S, Ty, Name, InsertBefore);
2621 const Twine &Name,
2624 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd);
2625 return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd);
2629 const Twine &Name,
2632 return Create(Instruction::BitCast, S, Ty, Name, InsertBefore);
2633 return Create(Instruction::SExt, S, Ty, Name, InsertBefore);
2637 const Twine &Name,
2640 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd);
2641 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd);
2645 const Twine &Name,
2648 return Create(Instruction::BitCast, S, Ty, Name, InsertBefore);
2649 return Create(Instruction::Trunc, S, Ty, Name, InsertBefore);
2653 const Twine &Name,
2656 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd);
2657 return Create(Instruction::Trunc, S, Ty, Name, InsertAtEnd);
2661 const Twine &Name,
2672 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd);
2674 return CreatePointerBitCastOrAddrSpaceCast(S, Ty, Name, InsertAtEnd);
2679 const Twine &Name,
2690 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore);
2692 return CreatePointerBitCastOrAddrSpaceCast(S, Ty, Name, InsertBefore);
2697 const Twine &Name,
2703 return Create(Instruction::AddrSpaceCast, S, Ty, Name, InsertAtEnd);
2705 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd);
2710 const Twine &Name,
2716 return Create(Instruction::AddrSpaceCast, S, Ty, Name, InsertBefore);
2718 return Create(Instruction::BitCast, S, Ty, Name, InsertBefore);
2722 const Twine &Name,
2725 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore);
2727 return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore);
2729 return Create(Instruction::BitCast, S, Ty, Name, InsertBefore);
2733 bool isSigned, const Twine &Name,
2743 return Create(opcode, C, Ty, Name, InsertBefore);
2747 bool isSigned, const Twine &Name,
2757 return Create(opcode, C, Ty, Name, InsertAtEnd);
2761 const Twine &Name,
2770 return Create(opcode, C, Ty, Name, InsertBefore);
2774 const Twine &Name,
2783 return Create(opcode, C, Ty, Name, InsertAtEnd);
3122 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3123 ) : CastInst(Ty, Trunc, S, Name, InsertBefore) {
3128 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3129 ) : CastInst(Ty, Trunc, S, Name, InsertAtEnd) {
3134 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3135 ) : CastInst(Ty, ZExt, S, Name, InsertBefore) {
3140 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3141 ) : CastInst(Ty, ZExt, S, Name, InsertAtEnd) {
3145 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3146 ) : CastInst(Ty, SExt, S, Name, InsertBefore) {
3151 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3152 ) : CastInst(Ty, SExt, S, Name, InsertAtEnd) {
3157 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3158 ) : CastInst(Ty, FPTrunc, S, Name, InsertBefore) {
3163 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3164 ) : CastInst(Ty, FPTrunc, S, Name, InsertAtEnd) {
3169 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3170 ) : CastInst(Ty, FPExt, S, Name, InsertBefore) {
3175 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3176 ) : CastInst(Ty, FPExt, S, Name, InsertAtEnd) {
3181 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3182 ) : CastInst(Ty, UIToFP, S, Name, InsertBefore) {
3187 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3188 ) : CastInst(Ty, UIToFP, S, Name, InsertAtEnd) {
3193 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3194 ) : CastInst(Ty, SIToFP, S, Name, InsertBefore) {
3199 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3200 ) : CastInst(Ty, SIToFP, S, Name, InsertAtEnd) {
3205 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3206 ) : CastInst(Ty, FPToUI, S, Name, InsertBefore) {
3211 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3212 ) : CastInst(Ty, FPToUI, S, Name, InsertAtEnd) {
3217 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3218 ) : CastInst(Ty, FPToSI, S, Name, InsertBefore) {
3223 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3224 ) : CastInst(Ty, FPToSI, S, Name, InsertAtEnd) {
3229 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3230 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) {
3235 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3236 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) {
3241 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3242 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) {
3247 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3248 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) {
3253 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3254 ) : CastInst(Ty, BitCast, S, Name, InsertBefore) {
3259 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3260 ) : CastInst(Ty, BitCast, S, Name, InsertAtEnd) {
3265 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore
3266 ) : CastInst(Ty, AddrSpaceCast, S, Name, InsertBefore) {
3271 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd
3272 ) : CastInst(Ty, AddrSpaceCast, S, Name, InsertAtEnd) {
3283 Value *RHS, const Twine &Name, Instruction *InsertBefore)
3291 setName(Name);
3295 Value *RHS, const Twine &Name, BasicBlock *InsertAtEnd)
3303 setName(Name);
3308 const Twine &Name, Instruction *InsertBefore) {
3312 S1, S2, Name);
3315 S1, S2, Name);
3320 S1, S2, Name);
3323 S1, S2, Name);
3328 const Twine &Name, BasicBlock *InsertAtEnd) {
3331 S1, S2, Name);
3334 S1, S2, Name);