Home
last modified time | relevance | path

Searched refs:Offset2 (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp242 int64_t Offset1, Offset2; in ClusterNeighboringLoads() local
243 if (!TII->areLoadsFromSameBasePtr(Base, User, Offset1, Offset2) || in ClusterNeighboringLoads()
244 Offset1 == Offset2 || in ClusterNeighboringLoads()
252 O2SMap.insert(std::make_pair(Offset2, User)); in ClusterNeighboringLoads()
253 Offsets.push_back(Offset2); in ClusterNeighboringLoads()
254 if (Offset2 < Offset1) in ClusterNeighboringLoads()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMicroMipsSizeReduction.cpp400 int64_t Offset1, Offset2; in ConsecutiveInstr() local
403 if (!GetImm(MI2, 2, Offset2)) in ConsecutiveInstr()
409 return ((Offset1 == (Offset2 - 4)) && (ConsecutiveRegisters(Reg1, Reg2))); in ConsecutiveInstr()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrInfo.h431 int64_t &Offset2) const override;
449 int64_t Offset2,
H A DX86InstrInfo.cpp7140 int64_t &Offset1, int64_t &Offset2) const { in areLoadsFromSameBasePtr()
7333 Offset2 = Disp2->getSExtValue(); in areLoadsFromSameBasePtr()
7338 int64_t Offset1, int64_t Offset2, in shouldScheduleLoadsNear() argument
7340 assert(Offset2 > Offset1); in shouldScheduleLoadsNear()
7341 if ((Offset2 - Offset1) / 8 > 64) in shouldScheduleLoadsNear()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DContainerModeling.cpp127 SymbolRef Offset2,
961 SymbolRef Offset2, in invalidateIteratorPositions() argument
965 compare(State, Pos.getOffset(), Offset2, Opc2); in invalidateIteratorPositions()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp237 uint64_t Offset2 = virtualAddrToOffset(Address2); in inlineContextEqual() local
239 const SampleContextFrameVector &Context2 = getFrameLocationStack(Offset2); in inlineContextEqual()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h247 int64_t &Offset2) const override;
258 int64_t Offset1, int64_t Offset2,
H A DARMBaseInstrInfo.cpp1945 int64_t &Offset2) const { in areLoadsFromSameBasePtr()
2006 Offset2 = cast<ConstantSDNode>(Load2->getOperand(1))->getSExtValue(); in areLoadsFromSameBasePtr()
2025 int64_t Offset1, int64_t Offset2, in shouldScheduleLoadsNear() argument
2030 assert(Offset2 > Offset1); in shouldScheduleLoadsNear()
2032 if ((Offset2 - Offset1) / 8 > 64) in shouldScheduleLoadsNear()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h1315 int64_t &Offset2) const { in areLoadsFromSameBasePtr() argument
1328 int64_t Offset1, int64_t Offset2, in shouldScheduleLoadsNear() argument
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp325 int64_t Offset2 = BDec[0].first; in getConstraint() local
362 if (AddOverflow(Offset1, Offset2, OffsetSum)) in getConstraint()
H A DSeparateConstOffsetFromGEP.cpp1352 Value *Offset2 = Second->getOperand(1); in swapGEPOperand() local
1353 First->setOperand(1, Offset2); in swapGEPOperand()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.cpp1638 int64_t Offset2 = (MCID.TSFlags & SystemZII::Is128Bit ? Offset + 8 : Offset); in getOpcodeForOffset() local
1639 if (isUInt<12>(Offset) && isUInt<12>(Offset2)) { in getOpcodeForOffset()
1649 if (isInt<20>(Offset) && isInt<20>(Offset2)) { in getOpcodeForOffset()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp3271 int64_t Offset2, unsigned Opcode2) { in shouldClusterFI() argument
3288 ObjectOffset2 += Offset2; in shouldClusterFI()
3341 int64_t Offset2 = SecondLdSt.getOperand(2).getImm(); in shouldClusterMemOps() local
3342 if (hasUnscaledLdStOffset(SecondOpc) && !scaleOffset(SecondOpc, Offset2)) in shouldClusterMemOps()
3352 assert((!BaseOp1.isIdenticalTo(BaseOp2) || Offset1 <= Offset2) && in shouldClusterMemOps()
3358 BaseOp2.getIndex(), Offset2, SecondOpc); in shouldClusterMemOps()
3361 assert(Offset1 <= Offset2 && "Caller should have ordered offsets."); in shouldClusterMemOps()
3363 return Offset1 + 1 == Offset2; in shouldClusterMemOps()
H A DAArch64InstrFormats.td10177 int Offset1, int Offset2, int Offset4, int Offset8> {
10203 !cast<DAGOperand>("GPR64pi" # Offset2)>;
10206 !cast<DAGOperand>("GPR64pi" # Offset2)>;
10222 defm : SIMDLdrAliases<NAME, asm, "4h", Count, Offset2, 64>;
10223 defm : SIMDLdrAliases<NAME, asm, "8h", Count, Offset2, 128>;
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachinePipeliner.cpp775 int64_t Offset1, Offset2; in addLoopCarriedDependences() local
779 TII->getMemOperandWithOffset(MI, BaseOp2, Offset2, in addLoopCarriedDependences()
783 (int)Offset1 < (int)Offset2) { in addLoopCarriedDependences()
H A DCodeGenPrepare.cpp2141 uint64_t Offset2 = Offset.getLimitedValue(); in optimizeCallInst() local
2142 if (!isAligned(PrefAlign, Offset2)) in optimizeCallInst()
2146 DL->getTypeAllocSize(AI->getAllocatedType()) >= MinSize + Offset2) in optimizeCallInst()
2156 MinSize + Offset2) in optimizeCallInst()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1153 const APInt *Offset1 = nullptr, *Offset2 = nullptr; in foldAndOrOfICmpsUsingRanges() local
1158 if (match(V2, m_Add(m_Value(X), m_APInt(Offset2)))) in foldAndOrOfICmpsUsingRanges()
1172 if (Offset2) in foldAndOrOfICmpsUsingRanges()
1173 CR2 = CR2.subtract(*Offset2); in foldAndOrOfICmpsUsingRanges()
/llvm-project-15.0.7/clang/tools/c-index-test/
H A Dc-index-test.c1767 long long Offset2 = clang_Cursor_getOffsetOfField(cursor); in PrintTypeSize() local
1768 if (Offset == Offset2){ in PrintTypeSize()
1772 printf(" [offsetof=%lld/%lld]", Offset, Offset2); in PrintTypeSize()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h193 int64_t &Offset2) const override;
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp2855 int64_t Offset1 = 0, Offset2 = 0; in shouldClusterMemOps() local
2859 !getMemOperandWithOffsetWidth(SecondLdSt, Base2, Offset2, Width2, TRI) || in shouldClusterMemOps()
2866 assert(Offset1 <= Offset2 && "Caller should have ordered offsets."); in shouldClusterMemOps()
2867 return Offset1 + Width1 == Offset2; in shouldClusterMemOps()
H A DPPCISelLowering.cpp13174 int64_t Offset1 = 0, Offset2 = 0; in isConsecutiveLSLoc() local
13176 getBaseWithConstantOffset(BaseLoc, Base2, Offset2, DAG); in isConsecutiveLSLoc()
13177 if (Base1 == Base2 && Offset1 == (Offset2 + Dist * Bytes)) in isConsecutiveLSLoc()
13184 Offset2 = 0; in isConsecutiveLSLoc()
13186 bool isGA2 = TLI.isGAPlusOffset(BaseLoc.getNode(), GV2, Offset2); in isConsecutiveLSLoc()
13188 return Offset1 == (Offset2 + Dist*Bytes); in isConsecutiveLSLoc()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueTracking.cpp7319 APInt Offset2(DL.getIndexTypeSizeInBits(Ptr2->getType()), 0); in isPointerOffset() local
7321 Ptr2 = Ptr2->stripAndAccumulateConstantOffsets(DL, Offset2, true); in isPointerOffset()
7325 return Offset2.getSExtValue() - Offset1.getSExtValue(); in isPointerOffset()
7349 return *IOffset2 - *IOffset1 + Offset2.getSExtValue() - in isPointerOffset()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp4354 int Offset2 = Pair2.second; in CanFormVector() local
4355 return Offset1 < Offset2; in CanFormVector()
/llvm-project-15.0.7/llvm/docs/
H A DLangRef.rst6038 Offset2)`` if either ``(BaseTy1, Offset1)`` is reachable from ``(Base2,
6039 Offset2)`` via the ``Parent`` relation or vice versa.