Home
last modified time | relevance | path

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

12

/external/llvm-project/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/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/llvm-project/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp63 SDValue Chain, SDValue Ptr, uint64_t ObjSize, in EmitUnrolledSetTag() argument
67 unsigned ObjSizeScaled = ObjSize / 16; in EmitUnrolledSetTag()
117 uint64_t ObjSize = cast<ConstantSDNode>(Size)->getZExtValue(); in EmitTargetCodeForSetTag() local
118 assert(ObjSize % 16 == 0); in EmitTargetCodeForSetTag()
122 DstPtrInfo, MachineMemOperand::MOStore, ObjSize, Align(16)); in EmitTargetCodeForSetTag()
125 kSetTagLoopThreshold >= 0 && (int)ObjSize >= kSetTagLoopThreshold; in EmitTargetCodeForSetTag()
127 return EmitUnrolledSetTag(DAG, dl, Chain, Addr, ObjSize, BaseMemOperand, in EmitTargetCodeForSetTag()
140 SDValue Ops[] = {DAG.getTargetConstant(ObjSize, dl, MVT::i64), Addr, Chain}; in EmitTargetCodeForSetTag()
DAArch64MachineFunctionInfo.h237 int64_t ObjSize = MFI.getObjectSize(FrameIdx); in getCalleeSavedStackSize() local
239 MaxOffset = std::max<int64_t>(Offset + ObjSize, MaxOffset); in getCalleeSavedStackSize()
/external/llvm-project/llvm/lib/Target/ARC/
DARCRegisterInfo.cpp41 int ObjSize, RegScavenger *RS, int SPAdj) { in ReplaceFrameIndex() argument
172 int ObjSize = MF.getFrameInfo().getObjectSize(FrameIndex); in eliminateFrameIndex() local
180 LLVM_DEBUG(dbgs() << "ObjSize : " << ObjSize << "\n"); in eliminateFrameIndex()
218 ObjSize, RS, SPAdj); in eliminateFrameIndex()
DARCISelLowering.cpp501 unsigned ObjSize = VA.getLocVT().getStoreSize(); in LowerCallArguments() local
502 assert((ObjSize <= StackSlotSize) && "Unhandled argument"); in LowerCallArguments()
505 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-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/llvm-project/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp691 int ObjSize = MFI.getObjectSize(i); in computeFreeStackSlots() local
695 ObjStart = -ObjOffset - ObjSize; in computeFreeStackSlots()
699 ObjEnd = ObjOffset + ObjSize; in computeFreeStackSlots()
726 int64_t ObjSize = MFI.getObjectSize(FrameIdx); in scavengeStackSlot() local
732 unsigned ObjStart = StackGrowsDown ? FreeStart + ObjSize : FreeStart; in scavengeStackSlot()
736 if (FreeStart + ObjSize > StackBytesFree.size()) in scavengeStackSlot()
740 for (unsigned Byte = 0; Byte < ObjSize; ++Byte) in scavengeStackSlot()
753 int ObjStart = -(FreeStart + ObjSize); in scavengeStackSlot()
763 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/llvm-project/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp90 Value *ObjSize = IRB.CreateSub(Size, Offset); in getBoundsCheckCond() local
98 : IRB.CreateICmpULT(ObjSize, NeededSizeVal); in getBoundsCheckCond()
/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-project/llvm/lib/Analysis/
DLoads.cpp130 uint64_t ObjSize; in isDereferenceableAndAlignedPointer() local
132 if (getObjectSize(V, ObjSize, DL, nullptr, Opts)) { in isDereferenceableAndAlignedPointer()
133 APInt KnownDerefBytes(Size.getBitWidth(), ObjSize); in isDereferenceableAndAlignedPointer()
/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h69 Value *emitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize,
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h95 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-project/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp274 unsigned ObjSize = DL.getTypeAllocSize(ObjType); in IsSmallObject() local
275 return ObjSize < CodeModelLargeSize && ObjSize != 0; in IsSmallObject()
1321 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local
1322 if (ObjSize > StackSlotSize) { in LowerCCCArguments()
1328 int FI = MFI.CreateFixedObject(ObjSize, in LowerCCCArguments()
1478 unsigned ObjSize = VA.getLocVT().getSizeInBits() / 8; in LowerReturn() local
1480 int FI = MFI.CreateFixedObject(ObjSize, Offset, false); in LowerReturn()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp648 uint64_t ObjSize = MFI.getObjectSize(i); in insertPrologueInBlock() local
656 if (ObjAlign > ObjSize) { in insertPrologueInBlock()
657 if (ObjSize <= 1) in insertPrologueInBlock()
659 else if (ObjSize <= 2) in insertPrologueInBlock()
661 else if (ObjSize <= 4) in insertPrologueInBlock()
663 else if (ObjSize > 4) in insertPrologueInBlock()
689 int LoadStoreCount = ObjSize / OpcodeChecker; in insertPrologueInBlock()
691 if (ObjSize % OpcodeChecker) in insertPrologueInBlock()
/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 …]

12