| /freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCOptAddrMode.cpp | 112 unsigned NewBase, MachineOperand &NewOffset); 356 int64_t NewOffset = Incr.getImm(); in canFixPastUses() local 360 if (isValidIncrementOffset(Dummy + NewOffset)) in canFixPastUses() 364 if (isLoadStoreThatCanHandleDisplacement(AII, *MI, -NewOffset)) in canFixPastUses() 366 LLVM_DEBUG(dbgs() << "Instruction cannot handle displacement " << -NewOffset in canFixPastUses() 374 unsigned NewBase, int64_t NewOffset) { in fixPastUses() argument 380 NewOffset += Amount; in fixPastUses() 381 assert(isValidIncrementOffset(NewOffset) && in fixPastUses() 388 NewOffset += MO.getImm(); in fixPastUses() 389 assert(isValidLoadStoreOffset(NewOffset) && in fixPastUses() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PaddingChecker.cpp | 269 CharUnits NewOffset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0)); in calculateOptimalPad() local 274 llvm::countr_zero((unsigned long long)NewOffset.getQuantity()); in calculateOptimalPad() 290 NewOffset += Iter->Size; in calculateOptimalPad() 297 CharUnits NextOffset = NewOffset.alignTo(Fields[0].Align); in calculateOptimalPad() 298 NewPad += NextOffset - NewOffset; in calculateOptimalPad() 299 NewOffset = NextOffset; in calculateOptimalPad() 303 CharUnits NewSize = NewOffset.alignTo(RL.getAlignment()); in calculateOptimalPad() 304 NewPad += NewSize - NewOffset; in calculateOptimalPad()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | BinaryStreamWriter.cpp | 96 uint64_t NewOffset = alignTo(Offset, Align); in padToAlignment() local 99 while (Offset < NewOffset) in padToAlignment() 101 ArrayRef<char>(Zeros, std::min(ZerosSize, NewOffset - Offset)))) in padToAlignment()
|
| H A D | BinaryStreamReader.cpp | 112 uint64_t NewOffset = getOffset(); in readWideString() 117 setOffset(NewOffset); in readWideString() 155 uint32_t NewOffset = alignTo(Offset, Align); in padToAlignment() 156 return skip(NewOffset - Offset); in padToAlignment() local 113 uint64_t NewOffset = getOffset(); readWideString() local
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchMergeBaseOffset.cpp | 698 int64_t NewOffset = Hi20.getOperand(1).getOffset() + *CommonOffset; in foldIntoMemoryOps() local 701 NewOffset = SignExtend64<32>(NewOffset); in foldIntoMemoryOps() 703 if (!isInt<32>(NewOffset)) in foldIntoMemoryOps() 723 Hi20.getOperand(1).setOffset(NewOffset); in foldIntoMemoryOps() 725 ImmOp.setOffset(NewOffset); in foldIntoMemoryOps() 727 Lo20->getOperand(2).setOffset(NewOffset); in foldIntoMemoryOps() 728 Hi12->getOperand(2).setOffset(NewOffset); in foldIntoMemoryOps() 736 Add->getOperand(3).setOffset(NewOffset); in foldIntoMemoryOps()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVMergeBaseOffset.cpp | 496 int64_t NewOffset = Hi.getOperand(1).getOffset() + *CommonOffset; in foldIntoMemoryOps() local 499 NewOffset = SignExtend64<32>(NewOffset); in foldIntoMemoryOps() 501 if (!isInt<32>(NewOffset)) in foldIntoMemoryOps() 504 Hi.getOperand(1).setOffset(NewOffset); in foldIntoMemoryOps() 514 ImmOp.setOffset(NewOffset); in foldIntoMemoryOps()
|
| H A D | RISCVFoldMemOffset.cpp | 273 for (auto [MemMI, NewOffset] : FoldableInstrs) in runOnMachineFunction() 274 MemMI->getOperand(2).setImm(NewOffset); in runOnMachineFunction()
|
| H A D | RISCVMakeCompressible.cpp | 405 int64_t NewOffset = MOImm.getImm() & compressedLDSTOffsetMask(Opcode); in updateOperands() local 406 MOImm.setImm(NewOffset); in updateOperands()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | InfoStream.cpp | 46 uint32_t NewOffset = Reader.getOffset(); in reload() local 47 NamedStreamMapByteSize = NewOffset - Offset; in reload()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonOptAddrMode.cpp | 93 bool usedInLoadStore(NodeAddr<StmtNode *> CurrentInstSN, int64_t NewOffset); 100 int64_t NewOffset); 446 int64_t NewOffset) { in usedInLoadStore() argument 456 isValidOffset(LoadStoreMI, NewOffset)) { in usedInLoadStore() 621 int64_t NewOffset; in processAddBases() local 628 NewOffset = CurrentMIImmOp.getImm() - FirstReachedMIImmOp.getImm(); in processAddBases() 645 if (!usedInLoadStore(CurrentInstSN, NewOffset)) { in processAddBases() 671 Changed |= updateAddBases(CurrentMI, FirstReachedMI, NewOffset); in processAddBases() 682 int64_t NewOffset) { in updateAddBases() argument 693 CurrentMIImmOp.setImm(NewOffset); in updateAddBases()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/LowLevel/ |
| H A D | DWARFUnwindTable.h | 145 void setOffset(int32_t NewOffset) { Offset = NewOffset; } in setOffset() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | GuardWidening.cpp | 251 void setOffset(const ConstantInt *NewOffset) { Offset = NewOffset; } in setOffset() argument 847 APInt NewOffset = Check.getOffsetValue() + OpRHS->getValue(); in parseRangeChecks() local 848 Check.setOffset(ConstantInt::get(Ctx, NewOffset)); in parseRangeChecks() 855 APInt NewOffset = Check.getOffsetValue() + OpRHS->getValue(); in parseRangeChecks() local 856 Check.setOffset(ConstantInt::get(Ctx, NewOffset)); in parseRangeChecks()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineMemOperand.h | 331 void setOffset(int64_t NewOffset) { PtrInfo.Offset = NewOffset; } in setOffset() argument
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | AtomicChange.cpp | 278 unsigned NewOffset = Replaces.getShiftedCodePosition(R.getOffset()); in insert() local 280 NewOffset -= in insert() 282 Replacement NewR(R.getFilePath(), NewOffset, 0, Text); in insert()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64PreLegalizerCombiner.cpp | 168 uint64_t NewOffset = MinOffset + CurrOffset; in matchFoldGlobalOffset() local 169 if (NewOffset <= CurrOffset) in matchFoldGlobalOffset() 181 if (NewOffset >= (1 << 20)) in matchFoldGlobalOffset() 186 NewOffset > GV->getDataLayout().getTypeAllocSize(T)) in matchFoldGlobalOffset() 188 MatchInfo = std::make_pair(NewOffset, MinOffset); in matchFoldGlobalOffset()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | IntervalMap.h | 1223 IdxPair NewOffset(0, Position); in branchRoot() 1229 NewOffset = distribute(Nodes, rootSize, Leaf::Capacity, nullptr, size, in branchRoot() 1250 return NewOffset; in branchRoot() 1264 IdxPair NewOffset(0, Position); in splitRoot() 1270 NewOffset = distribute(Nodes, rootSize, Leaf::Capacity, nullptr, Size, in splitRoot() 1289 return NewOffset; in splitRoot() 2059 IdxPair NewOffset = distribute(Nodes, Elements, NodeT::Capacity, in overflow() local 2086 while(Pos != NewOffset.first) { in overflow() 2090 P.offset(Level) = NewOffset.second; in overflow()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeBasedAliasAnalysis.cpp | 775 uint64_t NewOffset = InnerOffset->getZExtValue() - Offset; in shiftTBAAStruct() local 777 NewOffset = 0; in shiftTBAAStruct() 783 ConstantInt::get(InnerOffset->getType(), NewOffset))); in shiftTBAAStruct()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldImpl.h | 221 void setOffset(uint64_t NewOffset) { Offset = NewOffset; } in setOffset() argument
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | AliasAnalysis.h | 128 void setOffset(int32_t NewOffset) { in setOffset() argument 129 if (isInt<OffsetBits>(NewOffset)) { in setOffset() 131 Offset = NewOffset; in setOffset()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIRegisterInfo.cpp | 1113 int64_t NewOffset = OffsetOp->getImm() + Offset; in resolveFrameIndex() local 1119 assert(TII->isLegalFLATOffset(NewOffset, AMDGPUAS::PRIVATE_ADDRESS, in resolveFrameIndex() 1123 OffsetOp->setImm(NewOffset); in resolveFrameIndex() 1132 assert(TII->isLegalMUBUFImmOffset(NewOffset) && "offset should be legal"); in resolveFrameIndex() 1135 OffsetOp->setImm(NewOffset); in resolveFrameIndex() 1156 int64_t NewOffset = Offset + getScratchInstrOffset(MI); in isFrameOffsetLegal() local 1160 return TII->isLegalMUBUFImmOffset(NewOffset); in isFrameOffsetLegal() 1162 return TII->isLegalFLATOffset(NewOffset, AMDGPUAS::PRIVATE_ADDRESS, in isFrameOffsetLegal() 2927 int64_t NewOffset = Offset + OffsetOp->getImm(); in eliminateFrameIndex() local 2928 if (TII->isLegalFLATOffset(NewOffset, AMDGPUAS::PRIVATE_ADDRESS, in eliminateFrameIndex() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | JITLink.h | 597 void setOffset(orc::ExecutorAddrDiff NewOffset) { in setOffset() argument 598 assert(NewOffset <= getBlock().getSize() && "Offset out of range"); in setOffset() 599 Offset = NewOffset; in setOffset() 1539 orc::ExecutorAddrDiff NewOffset, in transferDefinedSymbol() argument 1543 Sym.setOffset(NewOffset); in transferDefinedSymbol() 1547 auto RemainingBlockSize = DestBlock.getSize() - NewOffset; in transferDefinedSymbol()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | AArch64.cpp | 967 llvm::Value *NewOffset = nullptr; in EmitAAPCSVAArg() local 968 NewOffset = CGF.Builder.CreateAdd( in EmitAAPCSVAArg() 970 CGF.Builder.CreateStore(NewOffset, reg_offs_p); in EmitAAPCSVAArg() 976 NewOffset, llvm::ConstantInt::get(CGF.Int32Ty, 0), "inreg"); in EmitAAPCSVAArg()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | ELFObjectWriter.cpp | 219 uint64_t NewOffset = alignTo(Offset, Alignment); in align() local 220 W.OS.write_zeros(NewOffset - Offset); in align() 221 return NewOffset; in align()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 96 void setOffset(int64_t NewOffset) { in setOffset() argument 97 assert(NewOffset >= 0 && "Offsets must be non-negative"); in setOffset() 98 Offset = NewOffset; in setOffset()
|
| /freebsd/contrib/llvm-project/llvm/lib/DWP/ |
| H A D | DWP.cpp | 421 auto NewOffset = OffsetRemapping[OldOffset]; in writeNewOffsetsTo() local 422 Out.emitIntValue(NewOffset, 4); in writeNewOffsetsTo()
|