Home
last modified time | relevance | path

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

12

/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp63 SDValue Chain, SDValue Ptr, uint64_t ObjSize, in EmitUnrolledSetTag() argument
67 unsigned ObjSizeScaled = ObjSize / 16; in EmitUnrolledSetTag()
115 uint64_t ObjSize = cast<ConstantSDNode>(Size)->getZExtValue(); in EmitTargetCodeForSetTag() local
116 assert(ObjSize % 16 == 0); in EmitTargetCodeForSetTag()
120 DstPtrInfo, MachineMemOperand::MOStore, ObjSize, 16); in EmitTargetCodeForSetTag()
123 kSetTagLoopThreshold >= 0 && (int)ObjSize >= kSetTagLoopThreshold; in EmitTargetCodeForSetTag()
125 return EmitUnrolledSetTag(DAG, dl, Chain, Addr, ObjSize, BaseMemOperand, in EmitTargetCodeForSetTag()
128 if (ObjSize % 32 != 0) { in EmitTargetCodeForSetTag()
134 ObjSize -= 16; in EmitTargetCodeForSetTag()
140 SDValue Ops[] = {DAG.getConstant(ObjSize, dl, MVT::i64), Addr, Chain}; in EmitTargetCodeForSetTag()
DAArch64MachineFunctionInfo.h208 int64_t ObjSize = MFI.getObjectSize(FrameIdx); in getCalleeSavedStackSize() local
210 MaxOffset = std::max<int64_t>(Offset + ObjSize, MaxOffset); in getCalleeSavedStackSize()
/external/cronet/third_party/abseil-cpp/absl/functional/
Dany_invocable_test.cc137 enum class ObjSize { small, large }; enum
142 template <ObjSize Size>
146 struct TypeErasedPadding<ObjSize::small> {};
149 struct TypeErasedPadding<ObjSize::large> {
188 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
192 template <NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment> \
209 template <NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment> \
243 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
262 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
281 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
[all …]
/external/angle/third_party/abseil-cpp/absl/functional/
Dany_invocable_test.cc137 enum class ObjSize { small, large }; enum
142 template <ObjSize Size>
146 struct TypeErasedPadding<ObjSize::small> {};
149 struct TypeErasedPadding<ObjSize::large> {
188 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
192 template <NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment> \
209 template <NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment> \
243 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
262 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
281 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
[all …]
/external/webrtc/third_party/abseil-cpp/absl/functional/
Dany_invocable_test.cc137 enum class ObjSize { small, large }; enum
142 template <ObjSize Size>
146 struct TypeErasedPadding<ObjSize::small> {};
149 struct TypeErasedPadding<ObjSize::large> {
188 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
192 template <NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment> \
209 template <NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment> \
243 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
262 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
281 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/functional/
Dany_invocable_test.cc136 enum class ObjSize { small, large }; enum
141 template <ObjSize Size>
145 struct TypeErasedPadding<ObjSize::small> {};
148 struct TypeErasedPadding<ObjSize::large> {
187 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
191 template <NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment> \
208 template <NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment> \
242 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
261 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
280 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
[all …]
/external/abseil-cpp/absl/functional/
Dany_invocable_test.cc136 enum class ObjSize { small, large }; enum
141 template <ObjSize Size>
145 struct TypeErasedPadding<ObjSize::small> {};
148 struct TypeErasedPadding<ObjSize::large> {
187 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
191 template <NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment> \
208 template <NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment> \
242 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
261 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
280 NothrowCall CallExceptionSpec, ObjSize Size, ObjAlign Alignment>
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCRegisterInfo.cpp41 int ObjSize, RegScavenger *RS, int SPAdj) { in ReplaceFrameIndex() argument
177 int ObjSize = MF.getFrameInfo().getObjectSize(FrameIndex); in eliminateFrameIndex() local
185 LLVM_DEBUG(dbgs() << "ObjSize : " << ObjSize << "\n"); in eliminateFrameIndex()
223 ObjSize, RS, SPAdj); in eliminateFrameIndex()
DARCISelLowering.cpp502 unsigned ObjSize = VA.getLocVT().getStoreSize(); in LowerCallArguments() local
503 assert((ObjSize <= StackSlotSize) && "Unhandled argument"); in LowerCallArguments()
506 int FI = MFI.CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCallArguments()
641 unsigned ObjSize = VA.getLocVT().getStoreSize(); in LowerReturn() local
643 int FI = MFI.CreateFixedObject(ObjSize, Offset, false); in LowerReturn()
/external/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp605 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/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp690 int ObjSize = MFI.getObjectSize(i); in computeFreeStackSlots() local
694 ObjStart = -ObjOffset - ObjSize; in computeFreeStackSlots()
698 ObjEnd = ObjOffset + ObjSize; in computeFreeStackSlots()
725 int64_t ObjSize = MFI.getObjectSize(FrameIdx); in scavengeStackSlot() local
731 unsigned ObjStart = StackGrowsDown ? FreeStart + ObjSize : FreeStart; in scavengeStackSlot()
735 if (FreeStart + ObjSize > StackBytesFree.size()) in scavengeStackSlot()
739 for (unsigned Byte = 0; Byte < ObjSize; ++Byte) in scavengeStackSlot()
752 int ObjStart = -(FreeStart + ObjSize); in scavengeStackSlot()
762 StackBytesFree.reset(FreeStart, FreeStart + ObjSize); in scavengeStackSlot()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp90 Value *ObjSize = IRB.CreateSub(Size, Offset); in getBoundsCheckCond() local
98 : IRB.CreateICmpULT(ObjSize, NeededSizeVal); in getBoundsCheckCond()
/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h69 Value *emitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp274 unsigned ObjSize = DL.getTypeAllocSize(ObjType); in IsSmallObject() local
275 return ObjSize < CodeModelLargeSize && ObjSize != 0; in IsSmallObject()
1322 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local
1323 if (ObjSize > StackSlotSize) { in LowerCCCArguments()
1329 int FI = MFI.CreateFixedObject(ObjSize, in LowerCCCArguments()
1479 unsigned ObjSize = VA.getLocVT().getSizeInBits() / 8; in LowerReturn() local
1481 int FI = MFI.CreateFixedObject(ObjSize, Offset, false); in LowerReturn()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp277 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-10.0/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h96 Value *emitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize,
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp3203 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-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp3609 unsigned ObjSize = VA.getValVT().getStoreSize(); in LowerFormalArguments_32SVR4() local
3612 ArgOffset += ArgSize - ObjSize; in LowerFormalArguments_32SVR4()
3814 unsigned ObjSize = ObjectVT.getStoreSize(); in LowerFormalArguments_64SVR4() local
3815 unsigned ArgSize = ObjSize; in LowerFormalArguments_64SVR4()
3849 ObjSize = Flags.getByValSize(); in LowerFormalArguments_64SVR4()
3850 ArgSize = ((ObjSize + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerFormalArguments_64SVR4()
3858 if (!ObjSize) { in LowerFormalArguments_64SVR4()
3880 if (ObjSize < PtrByteSize) { in LowerFormalArguments_64SVR4()
3885 SDValue ArgOff = DAG.getConstant(PtrByteSize - ObjSize, dl, PtrVT); in LowerFormalArguments_64SVR4()
3896 if (ObjSize==1 || ObjSize==2 || ObjSize==4) { in LowerFormalArguments_64SVR4()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp479 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-10.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp492 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/
DLanaiISelLowering.cpp476 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/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp805 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-10.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp686 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local
687 if (ObjSize > 2) { in LowerCCCArguments()
693 int FI = MFI.CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCCCArguments()

12