Home
last modified time | relevance | path

Searched refs:NewVal (Results 1 – 25 of 77) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp233 Value *NewVal = GetValueAtEndOfBlock(UserBB); in UpdateDebugValue() local
243 DPV->replaceVariableLocationOp(I, NewVal); in UpdateDebugValue()
485 replaceLoadWithValue(ALoad, NewVal); in run()
488 if (NewVal == ALoad) NewVal = PoisonValue::get(NewVal->getType()); in run()
489 ALoad->replaceAllUsesWith(NewVal); in run()
490 ReplacedLoads[ALoad] = NewVal; in run()
507 Value *NewVal = ReplacedLoads[User]; in run() local
508 assert(NewVal && "not a replaced load?"); in run()
515 NewVal = RLI->second; in run()
516 RLI = ReplacedLoads.find(NewVal); in run()
[all …]
H A DLowerAtomic.cpp44 Value *NewVal; in buildAtomicRMWValue() local
61 NewVal = Builder.CreateICmpSGT(Loaded, Val); in buildAtomicRMWValue()
62 return Builder.CreateSelect(NewVal, Loaded, Val, "new"); in buildAtomicRMWValue()
64 NewVal = Builder.CreateICmpSLE(Loaded, Val); in buildAtomicRMWValue()
65 return Builder.CreateSelect(NewVal, Loaded, Val, "new"); in buildAtomicRMWValue()
67 NewVal = Builder.CreateICmpUGT(Loaded, Val); in buildAtomicRMWValue()
68 return Builder.CreateSelect(NewVal, Loaded, Val, "new"); in buildAtomicRMWValue()
70 NewVal = Builder.CreateICmpULE(Loaded, Val); in buildAtomicRMWValue()
71 return Builder.CreateSelect(NewVal, Loaded, Val, "new"); in buildAtomicRMWValue()
H A DLoopRotationUtils.cpp175 Value *NewVal; in RewriteUsesOfClonedInstructions() local
177 NewVal = OrigPreHeaderVal; in RewriteUsesOfClonedInstructions()
179 NewVal = SSA.GetValueInMiddleOfBlock(UserBB); in RewriteUsesOfClonedInstructions()
181 NewVal = UndefValue::get(OrigHeaderVal->getType()); in RewriteUsesOfClonedInstructions()
182 DbgValue->replaceVariableLocationOp(OrigHeaderVal, NewVal); in RewriteUsesOfClonedInstructions()
198 Value *NewVal; in RewriteUsesOfClonedInstructions() local
200 NewVal = OrigPreHeaderVal; in RewriteUsesOfClonedInstructions()
202 NewVal = SSA.GetValueInMiddleOfBlock(UserBB); in RewriteUsesOfClonedInstructions()
204 NewVal = UndefValue::get(OrigHeaderVal->getType()); in RewriteUsesOfClonedInstructions()
205 DPV->replaceVariableLocationOp(OrigHeaderVal, NewVal); in RewriteUsesOfClonedInstructions()
H A DLoopPeel.cpp1027 Value *NewVal = PHI->getIncomingValueForBlock(Latch); in peelLoop() local
1028 Instruction *LatchInst = dyn_cast<Instruction>(NewVal); in peelLoop()
1030 NewVal = LVMap[LatchInst]; in peelLoop()
1032 PHI->setIncomingValueForBlock(NewPreHeader, NewVal); in peelLoop()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp34 APSInt NewVal = Val; in convert() local
40 NewVal = NewVal.extend(NewVal.getBitWidth() + RelativeUpscale); in convert()
41 NewVal = NewVal.relativeShl(RelativeUpscale); in convert()
44 NewVal.getBitWidth(), in convert()
46 NewVal.getBitWidth())); in convert()
47 APInt Masked(NewVal & Mask); in convert()
53 NewVal = NewVal.isNegative() ? Mask : ~Mask; in convert()
60 if (!DstSema.isSigned() && NewVal.isSigned() && NewVal.isNegative()) { in convert()
63 NewVal = 0; in convert()
68 NewVal = NewVal.extOrTrunc(DstSema.getWidth()); in convert()
[all …]
/freebsd-14.2/sys/dev/acpica/Osd/
H A DOsdTable.c49 ACPI_STRING *NewVal) in AcpiOsPredefinedOverride() argument
52 if (InitVal == NULL || NewVal == NULL) in AcpiOsPredefinedOverride()
55 *NewVal = NULL; in AcpiOsPredefinedOverride()
60 *NewVal = acpi_osname; in AcpiOsPredefinedOverride()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp1079 auto &NewVal = Env.create<RecordValue>(Loc); in refreshRecordValue() local
1080 Env.setValue(Loc, NewVal); in refreshRecordValue()
1081 return NewVal; in refreshRecordValue()
1090 Env.setValue(Expr, NewVal); in refreshRecordValue()
1091 Env.setValue(NewVal.getLoc(), NewVal); in refreshRecordValue()
1092 return NewVal; in refreshRecordValue()
1096 Env.setValue(Expr, NewVal); in refreshRecordValue()
1097 return NewVal; in refreshRecordValue()
1102 Env.setValue(*Loc, NewVal); in refreshRecordValue()
1103 return NewVal; in refreshRecordValue()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kBaseInfo.h86 value_t NewVal = 0; in swapWord() local
90 NewVal |= (Part << (i * 16)); in swapWord()
92 return NewVal; in swapWord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp384 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType()
399 Value *NewVal = Val->getType()->isPointerTy() in convertAtomicXchgToIntegerType() local
508 StoreInst *NewSI = Builder.CreateStore(NewVal, Addr); in convertAtomicStoreToIntegerType()
543 Type *OrigTy = NewVal->getType(); in createCmpXchgInstFun()
550 NewVal = Builder.CreateBitCast(NewVal, IntTy); in createCmpXchgInstFun()
555 Addr, Loaded, NewVal, AddrAlign, MemOpOrder, in createCmpXchgInstFun()
963 Value *NewVal = CI->getNewValOperand(); in expandPartwordCmpXchg() local
1153 Value *NewVal = PerformOp(Builder, Loaded); in insertRMWLLSCLoop() local
1519 Value *NewVal = PerformOp(Builder, Loaded); in insertRMWCmpXchgLoop() local
1524 CreateCmpXchg(Builder, Addr, Loaded, NewVal, AddrAlign, in insertRMWCmpXchgLoop()
[all …]
H A DExpandVectorPredication.cpp101 static void transferDecorations(Value &NewVal, VPIntrinsic &VPI) { in transferDecorations() argument
102 auto *NewInst = dyn_cast<Instruction>(&NewVal); in transferDecorations()
103 if (!NewInst || !isa<FPMathOperator>(NewVal)) in transferDecorations()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp320 int64_t NewVal; in generateInstSeq() local
324 NewVal = Val | 0x80000000ll; in generateInstSeq()
327 NewVal = Val & ~0x80000000ll; in generateInstSeq()
329 if (isInt<32>(NewVal)) { in generateInstSeq()
331 generateInstSeqImpl(NewVal, STI, TmpSeq); in generateInstSeq()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp181 auto *NewVal = IRB.CreateBitCast( in visitLoadInst() local
183 LI.replaceAllUsesWith(NewVal); in visitLoadInst()
H A DAMDGPULowerKernelArguments.cpp270 Value *NewVal = Builder.CreateBitCast(Trunc, ArgTy, in lowerKernelArguments() local
272 Arg.replaceAllUsesWith(NewVal); in lowerKernelArguments()
H A DAMDGPUCodeGenPrepare.cpp620 Value *NewVal = PoisonValue::get(Ty); in insertValues() local
622 NewVal = Builder.CreateInsertElement(NewVal, Values[I], I); in insertValues()
624 return NewVal; in insertValues()
682 Value *NewVal = insertValues(Builder, Ty, ResultVals); in replaceMulWithMul24() local
683 NewVal->takeName(&I); in replaceMulWithMul24()
684 I.replaceAllUsesWith(NewVal); in replaceMulWithMul24()
1154 Value *NewVal = insertValues(Builder, FDiv.getType(), ResultVals); in visitFDiv() local
1156 if (NewVal) { in visitFDiv()
1157 FDiv.replaceAllUsesWith(NewVal); in visitFDiv()
1158 NewVal->takeName(&FDiv); in visitFDiv()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DUtility.h192 ScopedOverride(T &Loc_, T NewVal) : Loc(Loc_), Original(Loc_) { in ScopedOverride() argument
193 Loc_ = std::move(NewVal); in ScopedOverride()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp105 SDValue NewVal = getSDValue(NewValId); in PerformExpensiveChecks() local
106 (void)NewVal; in PerformExpensiveChecks()
107 assert(NewVal.getNode()->getNodeId() != NewNode && in PerformExpensiveChecks()
686 SDValue NewVal(M, i); in ReplaceValueWith() local
688 RemapValue(NewVal); in ReplaceValueWith()
694 auto NewValId = getTableId(NewVal); in ReplaceValueWith()
695 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTinyPtrVector.h242 void push_back(EltTy NewVal) { in push_back() argument
245 Val = NewVal; in push_back()
258 cast<VecTy *>(Val)->push_back(NewVal); in push_back()
/freebsd-14.2/sys/contrib/dev/acpica/os_specific/service_layers/
H A Dosunixxf.c391 ACPI_STRING *NewVal) in AcpiOsPredefinedOverride() argument
394 if (!InitVal || !NewVal) in AcpiOsPredefinedOverride()
399 *NewVal = NULL; in AcpiOsPredefinedOverride()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupInstTuning.cpp73 static std::optional<bool> CmpOptionals(T NewVal, T CurVal) { in CmpOptionals() argument
74 if (NewVal.has_value() && CurVal.has_value() && *NewVal != *CurVal) in CmpOptionals()
75 return *NewVal < *CurVal; in CmpOptionals()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp93 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, Known, in SimplifyDemandedBits() local
95 if (!NewVal) return false; in SimplifyDemandedBits()
99 replaceUse(U, NewVal); in SimplifyDemandedBits()
764 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local
766 return InsertNewInstWith(NewVal, I->getIterator()); in SimplifyDemandedUseBits()
921 Instruction *NewVal; in SimplifyDemandedUseBits() local
923 NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits()
926 NewVal = BinaryOperator::CreateShl( in SimplifyDemandedUseBits()
928 NewVal->takeName(I); in SimplifyDemandedUseBits()
929 return InsertNewInstWith(NewVal, I->getIterator()); in SimplifyDemandedUseBits()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp642 SVal NewVal; in handlePtrIncrOrDecr() local
644 NewVal = State->getLValue(ElementType, Offset, OldVal); in handlePtrIncrOrDecr()
648 NewVal = State->getLValue(ElementType, NegatedOffset, OldVal); in handlePtrIncrOrDecr()
660 ProgramStateRef NewState = setIteratorPosition(State, NewVal, *NewPos); in handlePtrIncrOrDecr()
663 assignToContainer(C, Iterator, NewVal, OldPos->getContainer()); in handlePtrIncrOrDecr()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h146 Value *CreateMatrixInsert(Value *Matrix, Value *NewVal, Value *RowIdx, in CreateMatrixInsert() argument
149 Matrix, NewVal, in CreateMatrixInsert()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp882 Register NewVal, MachineMemOperand &MMO) { in buildAtomicCmpXchgWithSuccess() argument
888 LLT NewValTy = getMRI()->getType(NewVal); in buildAtomicCmpXchgWithSuccess()
903 .addUse(NewVal) in buildAtomicCmpXchgWithSuccess()
909 Register CmpVal, Register NewVal, in buildAtomicCmpXchg() argument
915 LLT NewValTy = getMRI()->getType(NewVal); in buildAtomicCmpXchg()
928 .addUse(NewVal) in buildAtomicCmpXchg()
/freebsd-14.2/sys/contrib/dev/acpica/include/
H A Dacpiosxf.h222 ACPI_STRING *NewVal);
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DMSVC.cpp940 std::string NewVal = std::string(Val); in TranslateDArg() local
941 NewVal[Hash] = '='; in TranslateDArg()
942 DAL.AddJoinedArg(A, Opts.getOption(options::OPT_D), NewVal); in TranslateDArg()

1234