/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ConstantHoisting.cpp | 756 UserAdjustment *Adj) { in emitBaseConstants() argument 760 if (!Adj->Offset && Adj->Ty && Adj->Ty != Base->getType()) in emitBaseConstants() 761 Adj->Offset = ConstantInt::get(Type::getInt32Ty(*Ctx), 0); in emitBaseConstants() 763 if (Adj->Offset) { in emitBaseConstants() 764 if (Adj->Ty) { in emitBaseConstants() 766 Mat = GetElementPtrInst::Create(Type::getInt8Ty(*Ctx), Base, Adj->Offset, in emitBaseConstants() 767 "mat_gep", Adj->MatInsertPt); in emitBaseConstants() 769 Mat = new BitCastInst(Mat, Adj->Ty, "mat_bitcast", in emitBaseConstants() 770 Adj->MatInsertPt->getIterator()); in emitBaseConstants() 774 BinaryOperator::Create(Instruction::Add, Base, Adj->Offset, in emitBaseConstants() [all …]
|
/freebsd/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/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineFrameInfo.h | 599 void setOffsetAdjustment(int64_t Adj) { OffsetAdjustment = Adj; } in setOffsetAdjustment() argument
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
H A D | ConstantHoisting.h | 215 void emitBaseConstants(Instruction *Base, UserAdjustment *Adj);
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UnsafeBufferUsage.cpp | 3213 for (const VarDecl *Adj : AdjacentNodes) { in checkUnsafeBufferUsage() local 3214 if (VisitedVarsDirected.find(Adj) == VisitedVarsDirected.end()) { in checkUnsafeBufferUsage() 3215 QueueDirected.push(Adj); in checkUnsafeBufferUsage() 3217 DependenciesMap[Var].insert(Adj); in checkUnsafeBufferUsage() 3218 DependenciesMap[Adj].insert(Var); in checkUnsafeBufferUsage() 3249 for (const VarDecl *Adj : AdjacentNodes) { in checkUnsafeBufferUsage() local 3250 if (VisitedVars.find(Adj) == VisitedVars.end()) { in checkUnsafeBufferUsage() 3251 Queue.push(Adj); in checkUnsafeBufferUsage()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.cpp | 4446 int Adj = DefAdj + UseAdj; in getOperandLatencyImpl() local 4449 Adj += adjustDefLatency(Subtarget, DefMI, DefMCID, DefAlign); in getOperandLatencyImpl() 4450 if (Adj >= 0 || (int)*Latency > -Adj) { in getOperandLatencyImpl() 4451 return *Latency + Adj; in getOperandLatencyImpl() 4475 int Adj = Subtarget.getPreISelOperandLatencyAdjustment(); in getOperandLatency() local 4476 int Threshold = 1 + Adj; in getOperandLatency() 4477 return !Latency || Latency <= (unsigned)Threshold ? 1 : *Latency - Adj; in getOperandLatency() 4779 int Adj = adjustDefLatency(Subtarget, MI, MCID, DefAlign); in getInstrLatency() local 4780 if (Adj >= 0 || (int)Latency > -Adj) { in getInstrLatency() 4781 return Latency + Adj; in getInstrLatency()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ItaniumCXXABI.cpp | 648 llvm::Value *Adj = RawAdj; in EmitLoadOfMemberFunctionPointer() local 650 Adj = Builder.CreateAShr(Adj, ptrdiff_1, "memptr.adj.shifted"); in EmitLoadOfMemberFunctionPointer() 655 This = Builder.CreateInBoundsGEP(Builder.getInt8Ty(), This, Adj); in EmitLoadOfMemberFunctionPointer() 952 llvm::Value *Adj = Builder.CreateExtractValue(src, 1, "memptr.adj"); in EmitMemberPointerConversion() local 954 llvm::Value *AndVal = Builder.CreateAnd(Adj, Ptrdiff_1); in EmitMemberPointerConversion() 1339 llvm::Value *Adj = Builder.CreateExtractValue(MemPtr, 1, "memptr.adj"); in EmitMemberPointerIsNotNull() local 1340 llvm::Value *VirtualBit = Builder.CreateAnd(Adj, One, "memptr.virtualbit"); in EmitMemberPointerIsNotNull()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelDAGToDAG.cpp | 2633 int64_t Adj = CVal < 0 ? -2048 : 2047; in SelectAddrRegImm() local 2636 CurDAG->getTargetConstant(Adj, DL, VT)), in SelectAddrRegImm() 2638 Offset = CurDAG->getTargetConstant(CVal - Adj, DL, VT); in SelectAddrRegImm() 2705 int64_t Adj = CVal < 0 ? -2048 : 2016; in SelectAddrRegImmLsb00000() local 2706 int64_t AdjustedOffset = CVal - Adj; in SelectAddrRegImmLsb00000() 2711 Offset = CurDAG->getTargetConstant(Adj, DL, VT); in SelectAddrRegImmLsb00000()
|
H A D | RISCVInstrInfo.td | 444 int64_t Adj = N->getSExtValue() < 0 ? -2048 : 2047; 445 return CurDAG->getTargetConstant(Imm - Adj, SDLoc(N),
|
/freebsd/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/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchInstrInfo.td | 548 int64_t Adj = Imm < 0 ? -2048 : 2047; 549 return CurDAG->getTargetConstant(Imm - Adj, SDLoc(N),
|