/external/clang/test/SemaCXX/ |
D | pass-object-size.cpp | 95 void ObjSize(int, void *const __attribute__((pass_object_size(0)))); 98 …TakeFn(ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 h… in Check() 99 …TakeFn(&ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 … in Check() 100 …TakeFn(*ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 … in Check() 101 …TakeFn(*****ObjSize); //expected-error{{cannot take address of function 'ObjSize' because paramete… in Check() 102 …TakeFn(*****&ObjSize); //expected-error{{cannot take address of function 'ObjSize' because paramet… in Check() 104 …void (*P)(int, void *) = ****ObjSize; //expected-error{{cannot take address of function 'ObjSize' … in Check() 105 …P = ****ObjSize; //expected-error{{cannot take address of function 'ObjSize' because parameter 2 h… in Check() 107 …TakeFn((ObjSize)); //expected-error{{cannot take address of function 'ObjSize' because parameter 2… in Check() 108 …TakeFn((void*)ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parame… in Check() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/ |
D | ARCRegisterInfo.cpp | 42 int ObjSize, RegScavenger *RS, int SPAdj) { in ReplaceFrameIndex() argument 174 int ObjSize = MF.getFrameInfo().getObjectSize(FrameIndex); in eliminateFrameIndex() local 182 LLVM_DEBUG(dbgs() << "ObjSize : " << ObjSize << "\n"); in eliminateFrameIndex() 220 ObjSize, RS, SPAdj); in eliminateFrameIndex()
|
D | ARCISelLowering.cpp | 503 unsigned ObjSize = VA.getLocVT().getStoreSize(); in LowerCallArguments() local 504 assert((ObjSize <= StackSlotSize) && "Unhandled argument"); in LowerCallArguments() 507 int FI = MFI.CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCallArguments() 642 unsigned ObjSize = VA.getLocVT().getStoreSize(); in LowerReturn() local 644 int FI = MFI.CreateFixedObject(ObjSize, Offset, false); in LowerReturn()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 599 int ObjSize = MFI.getObjectSize(i); in computeFreeStackSlots() local 603 ObjStart = -ObjOffset - ObjSize; in computeFreeStackSlots() 607 ObjEnd = ObjOffset + ObjSize; in computeFreeStackSlots() 634 int64_t ObjSize = MFI.getObjectSize(FrameIdx); in scavengeStackSlot() local 640 unsigned ObjStart = StackGrowsDown ? FreeStart + ObjSize : FreeStart; in scavengeStackSlot() 644 if (FreeStart + ObjSize > StackBytesFree.size()) in scavengeStackSlot() 648 for (unsigned Byte = 0; Byte < ObjSize; ++Byte) in scavengeStackSlot() 661 int ObjStart = -(FreeStart + ObjSize); in scavengeStackSlot() 671 StackBytesFree.reset(FreeStart, FreeStart + ObjSize); in scavengeStackSlot()
|
/external/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 605 int ObjSize = MFI->getObjectSize(i); in computeFreeStackSlots() local 609 ObjStart = -ObjOffset - ObjSize; in computeFreeStackSlots() 613 ObjEnd = ObjOffset + ObjSize; in computeFreeStackSlots() 641 int64_t ObjSize = MFI->getObjectSize(FrameIdx); in scavengeStackSlot() local 647 unsigned ObjStart = StackGrowsDown ? FreeStart + ObjSize : FreeStart; in scavengeStackSlot() 651 if (FreeStart + ObjSize > StackBytesFree.size()) in scavengeStackSlot() 655 for (unsigned Byte = 0; Byte < ObjSize; ++Byte) in scavengeStackSlot() 668 int ObjStart = -(FreeStart + ObjSize); in scavengeStackSlot() 678 StackBytesFree.reset(FreeStart, FreeStart + ObjSize); in scavengeStackSlot()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 153 Value *ObjSize = Builder->CreateSub(Size, Offset); in instrument() local 155 Value *Cmp3 = Builder->CreateICmpULT(ObjSize, NeededSizeVal); in instrument()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 90 Value *ObjSize = IRB.CreateSub(Size, Offset); in getBoundsCheckCond() local 98 : IRB.CreateICmpULT(ObjSize, NeededSizeVal); in getBoundsCheckCond()
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 54 Value *EmitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize,
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 69 Value *emitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 77 Value *emitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 274 unsigned ObjSize = DL.getTypeAllocSize(ObjType); in IsSmallObject() local 275 return ObjSize < CodeModelLargeSize && ObjSize != 0; in IsSmallObject() 1316 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local 1317 if (ObjSize > StackSlotSize) { in LowerCCCArguments() 1323 int FI = MFI.CreateFixedObject(ObjSize, in LowerCCCArguments() 1473 unsigned ObjSize = VA.getLocVT().getSizeInBits() / 8; in LowerReturn() local 1475 int FI = MFI.CreateFixedObject(ObjSize, Offset, false); in LowerReturn()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 277 unsigned ObjSize = DL.getTypeAllocSize(ObjType); in IsSmallObject() local 278 return ObjSize < CodeModelLargeSize && ObjSize != 0; in IsSmallObject() 1332 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local 1333 if (ObjSize > StackSlotSize) { in LowerCCCArguments() 1339 int FI = MFI->CreateFixedObject(ObjSize, in LowerCCCArguments() 1490 unsigned ObjSize = VA.getLocVT().getSizeInBits() / 8; in LowerReturn() local 1492 int FI = MFI->CreateFixedObject(ObjSize, Offset, false); in LowerReturn()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 137 Value *llvm::EmitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize, in EmitMemCpyChk() argument 152 CallInst *CI = B.CreateCall4(MemCpy, Dst, Src, Len, ObjSize); in EmitMemCpyChk()
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 1899 unsigned ObjSize = ObjectVT.getSizeInBits()/8; in LowerFormalArguments_Darwin() local 1904 ObjSize = Flags.getByValSize(); in LowerFormalArguments_Darwin() 1906 ((ObjSize + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerFormalArguments_Darwin() 1945 unsigned ObjSize = ObjectVT.getSizeInBits()/8; in LowerFormalArguments_Darwin() local 1946 unsigned ArgSize = ObjSize; in LowerFormalArguments_Darwin() 1970 ObjSize = Flags.getByValSize(); in LowerFormalArguments_Darwin() 1971 ArgSize = ((ObjSize + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerFormalArguments_Darwin() 1974 if (ObjSize==1 || ObjSize==2) { in LowerFormalArguments_Darwin() 1975 CurArgOffset = CurArgOffset + (4 - ObjSize); in LowerFormalArguments_Darwin() 1978 int FI = MFI->CreateFixedObject(ObjSize, CurArgOffset, true); in LowerFormalArguments_Darwin() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/ |
D | BlackfinISelLowering.cpp | 211 unsigned ObjSize = VA.getLocVT().getStoreSize(); in LowerFormalArguments() local 212 int FI = MFI->CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerFormalArguments()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 3203 unsigned ObjSize = ObjectVT.getStoreSize(); in LowerFormalArguments_64SVR4() local 3204 unsigned ArgSize = ObjSize; in LowerFormalArguments_64SVR4() 3238 ObjSize = Flags.getByValSize(); in LowerFormalArguments_64SVR4() 3239 ArgSize = ((ObjSize + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerFormalArguments_64SVR4() 3247 if (!ObjSize) { in LowerFormalArguments_64SVR4() 3269 if (ObjSize < PtrByteSize) { in LowerFormalArguments_64SVR4() 3274 SDValue ArgOff = DAG.getConstant(PtrByteSize - ObjSize, dl, PtrVT); in LowerFormalArguments_64SVR4() 3284 if (ObjSize==1 || ObjSize==2 || ObjSize==4) { in LowerFormalArguments_64SVR4() 3285 EVT ObjType = (ObjSize == 1 ? MVT::i8 : in LowerFormalArguments_64SVR4() 3286 (ObjSize == 2 ? MVT::i16 : MVT::i32)); in LowerFormalArguments_64SVR4() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 361 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local 362 if (ObjSize > 2) { in LowerCCCArguments() 368 int FI = MFI->CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCCCArguments()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 3686 unsigned ObjSize = ObjectVT.getStoreSize(); in LowerFormalArguments_64SVR4() local 3687 unsigned ArgSize = ObjSize; in LowerFormalArguments_64SVR4() 3721 ObjSize = Flags.getByValSize(); in LowerFormalArguments_64SVR4() 3722 ArgSize = ((ObjSize + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerFormalArguments_64SVR4() 3730 if (!ObjSize) { in LowerFormalArguments_64SVR4() 3752 if (ObjSize < PtrByteSize) { in LowerFormalArguments_64SVR4() 3757 SDValue ArgOff = DAG.getConstant(PtrByteSize - ObjSize, dl, PtrVT); in LowerFormalArguments_64SVR4() 3768 if (ObjSize==1 || ObjSize==2 || ObjSize==4) { in LowerFormalArguments_64SVR4() 3769 EVT ObjType = (ObjSize == 1 ? MVT::i8 : in LowerFormalArguments_64SVR4() 3770 (ObjSize == 2 ? MVT::i16 : MVT::i32)); in LowerFormalArguments_64SVR4() [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 479 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local 480 if (ObjSize > 2) { in LowerCCCArguments() 486 int FI = MFI->CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCCCArguments()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 492 unsigned ObjSize = VA.getLocVT().getSizeInBits() / 8; in LowerCCCArguments() local 494 if (ObjSize > 4) { in LowerCCCArguments() 499 int FI = MFI.CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCCCArguments()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 476 unsigned ObjSize = VA.getLocVT().getSizeInBits() / 8; in LowerCCCArguments() local 478 if (ObjSize > 4) { in LowerCCCArguments() 483 int FI = MFI->CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCCCArguments()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 661 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local 662 if (ObjSize > 2) { in LowerCCCArguments() 668 int FI = MFI.CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCCCArguments()
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 805 Value *llvm::emitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize, in emitMemCpyChk() argument 822 CallInst *CI = B.CreateCall(MemCpy, {Dst, Src, Len, ObjSize}); in emitMemCpyChk()
|
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1124 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local 1125 if (ObjSize > StackSlotSize) { in LowerCCCArguments() 1131 int FI = MFI->CreateFixedObject(ObjSize, in LowerCCCArguments()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 851 Value *llvm::emitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize, in emitMemCpyChk() argument 868 CallInst *CI = B.CreateCall(MemCpy, {Dst, Src, Len, ObjSize}); in emitMemCpyChk()
|