| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 755 if (!Adj->Offset && Adj->Ty && Adj->Ty != Base->getType()) in emitBaseConstants() 758 if (Adj->Offset) { in emitBaseConstants() 759 if (Adj->Ty) { in emitBaseConstants() 764 Mat = new BitCastInst(Mat, Adj->Ty, "mat_bitcast", Adj->MatInsertPt); in emitBaseConstants() 774 Mat->setDebugLoc(Adj->User.Inst->getDebugLoc()); in emitBaseConstants() 776 Value *Opnd = Adj->User.Inst->getOperand(Adj->User.OpndIdx); in emitBaseConstants() 781 if (!updateOperand(Adj->User.Inst, Adj->User.OpndIdx, Mat) && Adj->Offset) in emitBaseConstants() 804 updateOperand(Adj->User.Inst, Adj->User.OpndIdx, ClonedCastInst); in emitBaseConstants() 813 updateOperand(Adj->User.Inst, Adj->User.OpndIdx, Mat); in emitBaseConstants() 828 if (!updateOperand(Adj->User.Inst, Adj->User.OpndIdx, ConstExprInst)) { in emitBaseConstants() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZSelectionDAGInfo.cpp | 44 unsigned Adj = getMemMemLenAdj(Op); in emitMemMemImm() local 45 assert(Size >= Adj && "Adjusted length overflow."); in emitMemMemImm() 46 SDValue LenAdj = DAG.getConstant(Size - Adj, DL, Dst.getValueType()); in emitMemMemImm() 53 int64_t Adj = getMemMemLenAdj(Op); in emitMemMemReg() local 56 DAG.getConstant(0 - Adj, DL, MVT::i64)); in emitMemMemReg()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineFrameInfo.h | 597 void setOffsetAdjustment(int Adj) { OffsetAdjustment = Adj; } in setOffsetAdjustment() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | ConstantHoisting.h | 212 void emitBaseConstants(Instruction *Base, UserAdjustment *Adj);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UnsafeBufferUsage.cpp | 2824 for (const VarDecl *Adj : AdjacentNodes) { in checkUnsafeBufferUsage() local 2825 if (VisitedVarsDirected.find(Adj) == VisitedVarsDirected.end()) { in checkUnsafeBufferUsage() 2826 QueueDirected.push(Adj); in checkUnsafeBufferUsage() 2828 DependenciesMap[Var].insert(Adj); in checkUnsafeBufferUsage() 2829 DependenciesMap[Adj].insert(Var); in checkUnsafeBufferUsage() 2860 for (const VarDecl *Adj : AdjacentNodes) { in checkUnsafeBufferUsage() local 2861 if (VisitedVars.find(Adj) == VisitedVars.end()) { in checkUnsafeBufferUsage() 2862 Queue.push(Adj); in checkUnsafeBufferUsage()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMBaseInstrInfo.cpp | 4445 int Adj = DefAdj + UseAdj; in getOperandLatencyImpl() local 4448 Adj += adjustDefLatency(Subtarget, DefMI, DefMCID, DefAlign); in getOperandLatencyImpl() 4449 if (Adj >= 0 || (int)*Latency > -Adj) { in getOperandLatencyImpl() 4450 return *Latency + Adj; in getOperandLatencyImpl() 4474 int Adj = Subtarget.getPreISelOperandLatencyAdjustment(); in getOperandLatency() local 4475 int Threshold = 1 + Adj; in getOperandLatency() 4476 return !Latency || Latency <= (unsigned)Threshold ? 1 : *Latency - Adj; in getOperandLatency() 4778 int Adj = adjustDefLatency(Subtarget, MI, MCID, DefAlign); in getInstrLatency() local 4779 if (Adj >= 0 || (int)Latency > -Adj) { in getInstrLatency() 4780 return Latency + Adj; in getInstrLatency()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelDAGToDAG.cpp | 2445 int64_t Adj = CVal < 0 ? -2048 : 2047; in SelectAddrRegImm() local 2448 CurDAG->getTargetConstant(Adj, DL, VT)), in SelectAddrRegImm() 2450 Offset = CurDAG->getTargetConstant(CVal - Adj, DL, VT); in SelectAddrRegImm() 2517 int64_t Adj = CVal < 0 ? -2048 : 2016; in SelectAddrRegImmLsb00000() local 2518 int64_t AdjustedOffset = CVal - Adj; in SelectAddrRegImmLsb00000() 2523 Offset = CurDAG->getTargetConstant(Adj, DL, VT); in SelectAddrRegImmLsb00000()
|
| H A D | RISCVInstrInfo.td | 438 int64_t Adj = N->getSExtValue() < 0 ? -2048 : 2047; 439 return CurDAG->getTargetConstant(Imm - Adj, SDLoc(N),
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ItaniumCXXABI.cpp | 643 llvm::Value *Adj = RawAdj; in EmitLoadOfMemberFunctionPointer() local 645 Adj = Builder.CreateAShr(Adj, ptrdiff_1, "memptr.adj.shifted"); in EmitLoadOfMemberFunctionPointer() 650 This = Builder.CreateInBoundsGEP(Builder.getInt8Ty(), This, Adj); in EmitLoadOfMemberFunctionPointer() 1194 llvm::Value *Adj = Builder.CreateExtractValue(MemPtr, 1, "memptr.adj"); in EmitMemberPointerIsNotNull() local 1195 llvm::Value *VirtualBit = Builder.CreateAnd(Adj, One, "memptr.virtualbit"); in EmitMemberPointerIsNotNull()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 412 for (const SubobjectAdjustment &Adj : llvm::reverse(Adjustments)) { in createTemporaryRegionIfNeeded() local 413 switch (Adj.Kind) { in createTemporaryRegionIfNeeded() 415 Reg = StoreMgr.evalDerivedToBase(Reg, Adj.DerivedToBase.BasePath); in createTemporaryRegionIfNeeded() 418 Reg = StoreMgr.getLValueField(Adj.Field, Reg); in createTemporaryRegionIfNeeded()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchInstrInfo.td | 527 int64_t Adj = Imm < 0 ? -2048 : 2047; 528 return CurDAG->getTargetConstant(Imm - Adj, SDLoc(N),
|