Home
last modified time | relevance | path

Searched refs:ObjSize (Results 1 – 10 of 10) sorted by relevance

/external/clang/test/SemaCXX/
Dpass-object-size.cpp95 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/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp153 Value *ObjSize = Builder->CreateSub(Size, Offset); in instrument() local
155 Value *Cmp3 = Builder->CreateICmpULT(ObjSize, NeededSizeVal); in instrument()
/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h63 Value *EmitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize,
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp375 APInt ObjSize = Data.first, Offset = Data.second; in getObjectSize() local
377 if (Offset.slt(0) || ObjSize.ult(Offset)) in getObjectSize()
380 Size = (ObjSize - Offset).getZExtValue(); in getObjectSize()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp280 unsigned ObjSize = DL.getTypeAllocSize(ObjType); in IsSmallObject() local
281 return ObjSize < CodeModelLargeSize && ObjSize != 0; in IsSmallObject()
1350 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local
1351 if (ObjSize > StackSlotSize) { in LowerCCCArguments()
1357 int FI = MFI->CreateFixedObject(ObjSize, in LowerCCCArguments()
1508 unsigned ObjSize = VA.getLocVT().getSizeInBits() / 8; in LowerReturn() local
1510 int FI = MFI->CreateFixedObject(ObjSize, Offset, false); in LowerReturn()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp161 Value *llvm::EmitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize, in EmitMemCpyChk() argument
178 CallInst *CI = B.CreateCall(MemCpy, {Dst, Src, Len, ObjSize}); in EmitMemCpyChk()
DSimplifyLibCalls.cpp2475 *ObjSize = CI->getArgOperand(2); in optimizeStrpCpyChk() local
2501 Value *Ret = EmitMemCpyChk(Dst, Src, LenV, ObjSize, B, DL, TLI); in optimizeStrpCpyChk()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp3117 unsigned ObjSize = ObjectVT.getStoreSize(); in LowerFormalArguments_64SVR4() local
3118 unsigned ArgSize = ObjSize; in LowerFormalArguments_64SVR4()
3152 ObjSize = Flags.getByValSize(); in LowerFormalArguments_64SVR4()
3153 ArgSize = ((ObjSize + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerFormalArguments_64SVR4()
3161 if (!ObjSize) { in LowerFormalArguments_64SVR4()
3183 if (ObjSize < PtrByteSize) { in LowerFormalArguments_64SVR4()
3188 SDValue ArgOff = DAG.getConstant(PtrByteSize - ObjSize, dl, PtrVT); in LowerFormalArguments_64SVR4()
3198 if (ObjSize==1 || ObjSize==2 || ObjSize==4) { in LowerFormalArguments_64SVR4()
3199 EVT ObjType = (ObjSize == 1 ? MVT::i8 : in LowerFormalArguments_64SVR4()
3200 (ObjSize == 2 ? MVT::i16 : MVT::i32)); in LowerFormalArguments_64SVR4()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp495 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local
496 if (ObjSize > 2) { in LowerCCCArguments()
502 int FI = MFI->CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCCCArguments()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1059 unsigned ObjSize; in LowerFormalArguments() local
1128 ObjSize = Flags.getByValSize(); in LowerFormalArguments()
1130 ObjSize = VA.getLocVT().getStoreSizeInBits() >> 3; in LowerFormalArguments()
1135 FI = MFI->CreateFixedObject(ObjSize, StackLocation, true); in LowerFormalArguments()