Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp200 SDValue Chain, SDValue Ptr, uint64_t ObjSize, in EmitUnrolledSetTag() argument
204 unsigned ObjSizeScaled = ObjSize / 16; in EmitUnrolledSetTag()
254 uint64_t ObjSize = Size->getAsZExtVal(); in EmitTargetCodeForSetTag() local
255 assert(ObjSize % 16 == 0); in EmitTargetCodeForSetTag()
259 DstPtrInfo, MachineMemOperand::MOStore, ObjSize, Align(16)); in EmitTargetCodeForSetTag()
262 kSetTagLoopThreshold >= 0 && (int)ObjSize >= kSetTagLoopThreshold; in EmitTargetCodeForSetTag()
264 return EmitUnrolledSetTag(DAG, dl, Chain, Addr, ObjSize, BaseMemOperand, in EmitTargetCodeForSetTag()
277 SDValue Ops[] = {DAG.getTargetConstant(ObjSize, dl, MVT::i64), Addr, Chain}; in EmitTargetCodeForSetTag()
H A DAArch64MachineFunctionInfo.h343 int64_t ObjSize = MFI.getObjectSize(FrameIdx); in getCalleeSavedStackSize() local
345 MaxOffset = std::max<int64_t>(Offset + ObjSize, MaxOffset); in getCalleeSavedStackSize()
350 int64_t ObjSize = MFI.getObjectSize(getSwiftAsyncContextFrameIdx()); in getCalleeSavedStackSize() local
352 MaxOffset = std::max<int64_t>(Offset + ObjSize, MaxOffset); in getCalleeSavedStackSize()
357 int64_t ObjSize = MFI.getObjectSize(StackHazardCSRSlotIndex); in getCalleeSavedStackSize() local
359 MaxOffset = std::max<int64_t>(Offset + ObjSize, MaxOffset); in getCalleeSavedStackSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCRegisterInfo.cpp41 int ObjSize, RegScavenger *RS, int SPAdj) { in replaceFrameIndex() argument
175 int ObjSize = MF.getFrameInfo().getObjectSize(FrameIndex); in eliminateFrameIndex() local
183 LLVM_DEBUG(dbgs() << "ObjSize : " << ObjSize << "\n"); in eliminateFrameIndex()
221 ObjSize, RS, SPAdj); in eliminateFrameIndex()
H A DARCISelLowering.cpp540 unsigned ObjSize = VA.getLocVT().getStoreSize(); in LowerCallArguments() local
541 assert((ObjSize <= StackSlotSize) && "Unhandled argument"); in LowerCallArguments()
544 int FI = MFI.CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCallArguments()
680 unsigned ObjSize = VA.getLocVT().getStoreSize(); in LowerReturn() local
682 int FI = MFI.CreateFixedObject(ObjSize, Offset, false); in LowerReturn()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPrologEpilogInserter.cpp753 int ObjSize = MFI.getObjectSize(i); in computeFreeStackSlots() local
757 ObjStart = -ObjOffset - ObjSize; in computeFreeStackSlots()
761 ObjEnd = ObjOffset + ObjSize; in computeFreeStackSlots()
788 int64_t ObjSize = MFI.getObjectSize(FrameIdx); in scavengeStackSlot() local
794 unsigned ObjStart = StackGrowsDown ? FreeStart + ObjSize : FreeStart; in scavengeStackSlot()
798 if (FreeStart + ObjSize > StackBytesFree.size()) in scavengeStackSlot()
802 for (unsigned Byte = 0; Byte < ObjSize; ++Byte) in scavengeStackSlot()
815 int ObjStart = -(FreeStart + ObjSize); in scavengeStackSlot()
825 StackBytesFree.reset(FreeStart, FreeStart + ObjSize); in scavengeStackSlot()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp89 Value *ObjSize = IRB.CreateSub(Size, Offset); in getBoundsCheckCond() local
97 : IRB.CreateICmpULT(ObjSize, NeededSizeVal); in getBoundsCheckCond()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp133 uint64_t ObjSize; in isDereferenceableAndAlignedPointer() local
134 if (getObjectSize(V, ObjSize, DL, TLI, Opts)) { in isDereferenceableAndAlignedPointer()
135 APInt KnownDerefBytes(Size.getBitWidth(), ObjSize); in isDereferenceableAndAlignedPointer()
H A DScalarEvolution.cpp6893 uint64_t ObjSize; in getRangeRef() local
6896 getObjectSize(V, ObjSize, DL, &TLI, Opts) && ObjSize > 1) { in getRangeRef()
6903 APInt MaxVal = APInt::getMaxValue(BitWidth) - APInt(BitWidth, ObjSize); in getRangeRef()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp268 unsigned ObjSize = DL.getTypeAllocSize(ObjType); in IsSmallObject() local
269 return ObjSize < CodeModelLargeSize && ObjSize != 0; in IsSmallObject()
1228 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local
1229 if (ObjSize > StackSlotSize) { in LowerCCCArguments()
1234 int FI = MFI.CreateFixedObject(ObjSize, in LowerCCCArguments()
1381 unsigned ObjSize = VA.getLocVT().getSizeInBits() / 8; in LowerReturn() local
1383 int FI = MFI.CreateFixedObject(ObjSize, Offset, false); in LowerReturn()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp653 uint64_t ObjSize = MFI.getObjectSize(i); in insertPrologueInBlock() local
661 if (ObjAlign > ObjSize) { in insertPrologueInBlock()
662 if (ObjSize <= 1) in insertPrologueInBlock()
664 else if (ObjSize <= 2) in insertPrologueInBlock()
666 else if (ObjSize <= 4) in insertPrologueInBlock()
668 else if (ObjSize > 4) in insertPrologueInBlock()
694 int LoadStoreCount = ObjSize / OpcodeChecker; in insertPrologueInBlock()
696 if (ObjSize % OpcodeChecker) in insertPrologueInBlock()
H A DHexagonISelLowering.cpp889 unsigned ObjSize = Flags.isByVal() in LowerFormalArguments() local
895 int FI = MFI.CreateFixedObject(ObjSize, Offset, true); in LowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h133 Value *emitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize,
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp489 unsigned ObjSize = VA.getLocVT().getSizeInBits() / 8; in LowerCCCArguments() local
491 if (ObjSize > 4) { in LowerCCCArguments()
496 int FI = MFI.CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCCCArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp687 unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; in LowerCCCArguments() local
688 if (ObjSize > 2) { in LowerCCCArguments()
693 int FI = MFI.CreateFixedObject(ObjSize, VA.getLocMemOffset(), true); in LowerCCCArguments()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1530 Value *llvm::emitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize, in emitMemCpyChk() argument
1545 CallInst *CI = B.CreateCall(MemCpy, {Dst, Src, Len, ObjSize}); in emitMemCpyChk()
H A DSimplifyLibCalls.cpp4205 *ObjSize = CI->getArgOperand(2); in optimizeStrpCpyChk() local
4238 Value *Ret = emitMemCpyChk(Dst, Src, LenV, ObjSize, B, DL, TLI); in optimizeStrpCpyChk()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp4361 unsigned ObjSize = VA.getValVT().getStoreSize(); in LowerFormalArguments_32SVR4() local
4364 ArgOffset += ArgSize - ObjSize; in LowerFormalArguments_32SVR4()
4563 unsigned ObjSize = ObjectVT.getStoreSize(); in LowerFormalArguments_64SVR4() local
4564 unsigned ArgSize = ObjSize; in LowerFormalArguments_64SVR4()
4600 ObjSize = Flags.getByValSize(); in LowerFormalArguments_64SVR4()
4601 ArgSize = ((ObjSize + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerFormalArguments_64SVR4()
4609 if (!ObjSize) { in LowerFormalArguments_64SVR4()
4631 if (ObjSize < PtrByteSize) { in LowerFormalArguments_64SVR4()
4636 SDValue ArgOff = DAG.getConstant(PtrByteSize - ObjSize, dl, PtrVT); in LowerFormalArguments_64SVR4()
4645 EVT ObjType = EVT::getIntegerVT(*DAG.getContext(), ObjSize * 8); in LowerFormalArguments_64SVR4()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp137 const uint64_t ObjSize = Obj->getMemoryBufferRef().getBufferSize(); in getAsArrayRef() local
139 if (Size > ObjSize - Offset) { in getAsArrayRef()
144 Twine::utohexstr(ObjSize)); in getAsArrayRef()
4940 const uint64_t ObjSize = ObjF.getMemoryBufferRef().getBufferSize(); in printDynamicRelocationsHelper() local
4942 Obj.decodeCrel(ArrayRef<uint8_t>(Region.Addr, ObjSize - Offset)); in printDynamicRelocationsHelper()