Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp232 Value *NewVal = GetValueAtEndOfBlock(UserBB); in UpdateDebugValue() local
233 DbgValue->replaceVariableLocationOp(I, NewVal); in UpdateDebugValue()
241 Value *NewVal = GetValueAtEndOfBlock(UserBB); in UpdateDebugValue() local
242 DVR->replaceVariableLocationOp(I, NewVal); in UpdateDebugValue()
495 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run() local
496 replaceLoadWithValue(ALoad, NewVal); in run()
499 if (NewVal == ALoad) NewVal = PoisonValue::get(NewVal->getType()); in run()
500 ALoad->replaceAllUsesWith(NewVal); in run()
501 ReplacedLoads[ALoad] = NewVal; in run()
518 Value *NewVal = ReplacedLoads[User]; in run() local
[all …]
H A DLowerAtomic.cpp55 Value *NewVal; in buildAtomicRMWValue() local
72 NewVal = Builder.CreateICmpSGT(Loaded, Val); in buildAtomicRMWValue()
73 return Builder.CreateSelect(NewVal, Loaded, Val, "new"); in buildAtomicRMWValue()
75 NewVal = Builder.CreateICmpSLE(Loaded, Val); in buildAtomicRMWValue()
76 return Builder.CreateSelect(NewVal, Loaded, Val, "new"); in buildAtomicRMWValue()
78 NewVal = Builder.CreateICmpUGT(Loaded, Val); in buildAtomicRMWValue()
79 return Builder.CreateSelect(NewVal, Loaded, Val, "new"); in buildAtomicRMWValue()
81 NewVal = Builder.CreateICmpULE(Loaded, Val); in buildAtomicRMWValue()
82 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 = PoisonValue::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 = PoisonValue::get(OrigHeaderVal->getType()); in RewriteUsesOfClonedInstructions()
205 DVR->replaceVariableLocationOp(OrigHeaderVal, NewVal); in RewriteUsesOfClonedInstructions()
H A DLoopPeel.cpp1279 Value *NewVal = PHI->getIncomingValueForBlock(Latch); in peelLoop() local
1280 Instruction *LatchInst = dyn_cast<Instruction>(NewVal); in peelLoop()
1282 NewVal = LVMap[LatchInst]; in peelLoop()
1284 PHI->setIncomingValueForBlock(NewPreHeader, NewVal); in peelLoop()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp44 APSInt NewVal = Val; in convert() local
50 NewVal = NewVal.extend(NewVal.getBitWidth() + RelativeUpscale); in convert()
51 NewVal = NewVal.relativeShl(RelativeUpscale); in convert()
54 NewVal.getBitWidth(), in convert()
56 NewVal.getBitWidth())); in convert()
57 APInt Masked(NewVal & Mask); in convert()
63 NewVal = NewVal.isNegative() ? Mask : ~Mask; in convert()
70 if (!DstSema.isSigned() && NewVal.isSigned() && NewVal.isNegative()) { in convert()
73 NewVal = 0; in convert()
78 NewVal = NewVal.extOrTrunc(DstSema.getWidth()); in convert()
[all …]
/freebsd/sys/dev/acpica/Osd/
H A DOsdTable.c48 ACPI_STRING *NewVal) in AcpiOsPredefinedOverride() argument
51 if (InitVal == NULL || NewVal == NULL) in AcpiOsPredefinedOverride()
54 *NewVal = NULL; in AcpiOsPredefinedOverride()
59 *NewVal = acpi_osname; in AcpiOsPredefinedOverride()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp412 Value *NewVal = nullptr; in optimizeLiveType() local
415 NewVal = BBUseValMap[U->getParent()][Val]; in optimizeLiveType()
423 NewVal = Op; in optimizeLiveType()
425 NewVal = in optimizeLiveType()
428 BBUseValMap[U->getParent()][ValMap[Op]] = NewVal; in optimizeLiveType()
431 assert(NewVal); in optimizeLiveType()
432 U->setOperand(OpIdx, NewVal); in optimizeLiveType()
508 Value *NewVal = IRB.CreateBitCast( in visitLoadInst() local
513 LI.replaceAllUsesWith(NewVal); in visitLoadInst()
H A DAMDGPULowerKernelArguments.cpp226 Value *NewVal = Builder.CreateBitCast(Trunc, ArgTy, in lowerKernelArguments() local
228 Arg.replaceAllUsesWith(NewVal); in lowerKernelArguments()
H A DAMDGPUCodeGenPrepare.cpp626 Value *NewVal = PoisonValue::get(Ty); in insertValues() local
628 NewVal = Builder.CreateInsertElement(NewVal, Values[I], I); in insertValues()
630 return NewVal; in insertValues()
688 Value *NewVal = insertValues(Builder, Ty, ResultVals); in replaceMulWithMul24() local
689 NewVal->takeName(&I); in replaceMulWithMul24()
690 I.replaceAllUsesWith(NewVal); in replaceMulWithMul24()
1160 Value *NewVal = insertValues(Builder, FDiv.getType(), ResultVals); in visitFDiv() local
1162 if (NewVal) { in visitFDiv()
1163 FDiv.replaceAllUsesWith(NewVal); in visitFDiv()
1164 NewVal->takeName(&FDiv); in visitFDiv()
/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp486 Value *NewVal = Builder.CreateBitCast(NewLI, LI->getType()); in convertAtomicLoadToIntegerType() local
487 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType()
504 Value *NewVal = Val->getType()->isPointerTy() in convertAtomicXchgToIntegerType() local
508 auto *NewRMWI = Builder.CreateAtomicRMW(AtomicRMWInst::Xchg, Addr, NewVal, in convertAtomicXchgToIntegerType()
610 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType() local
614 StoreInst *NewSI = Builder.CreateStore(NewVal, Addr); in convertAtomicStoreToIntegerType()
646 Value *Loaded, Value *NewVal, Align AddrAlign, in createCmpXchgInstFun() argument
650 Type *OrigTy = NewVal->getType(); in createCmpXchgInstFun()
657 NewVal = Builder.CreateBitCast(NewVal, IntTy); in createCmpXchgInstFun()
662 Addr, Loaded, NewVal, AddrAlign, MemOpOrder, in createCmpXchgInstFun()
[all …]
H A DExpandVectorPredication.cpp98 static void transferDecorations(Value &NewVal, VPIntrinsic &VPI) { in transferDecorations() argument
99 auto *NewInst = dyn_cast<Instruction>(&NewVal); in transferDecorations()
100 if (!NewInst || !isa<FPMathOperator>(NewVal)) in transferDecorations()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTinyPtrVector.h215 void push_back(EltTy NewVal) { in push_back() argument
218 Val = NewVal; in push_back()
226 Val = new VecTy({V, NewVal}); in push_back()
231 cast<VecTy *>(Val)->push_back(NewVal); in push_back()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp123 Value *NewVal; in SimplifyDemandedBits() local
126 NewVal = SimplifyDemandedUseBits(VInst, DemandedMask, Known, Q, Depth); in SimplifyDemandedBits()
130 NewVal = in SimplifyDemandedBits()
133 if (!NewVal) return false; in SimplifyDemandedBits()
137 replaceUse(U, NewVal); in SimplifyDemandedBits()
822 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local
824 return InsertNewInstWith(NewVal, I->getIterator()); in SimplifyDemandedUseBits()
938 Instruction *NewVal; in SimplifyDemandedUseBits() local
940 NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits()
943 NewVal = BinaryOperator::CreateShl( in SimplifyDemandedUseBits()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp104 SDValue NewVal = getSDValue(NewValId); in PerformExpensiveChecks() local
105 (void)NewVal; in PerformExpensiveChecks()
106 assert(NewVal.getNode()->getNodeId() != NewNode && in PerformExpensiveChecks()
688 SDValue NewVal(M, i); in ReplaceValueWith() local
690 RemapValue(NewVal); in ReplaceValueWith()
696 auto NewValId = getTableId(NewVal); in ReplaceValueWith()
697 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith()
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DUtility.h218 ScopedOverride(T &Loc_, T NewVal) : Loc(Loc_), Original(Loc_) { in ScopedOverride() argument
219 Loc_ = std::move(NewVal); in ScopedOverride()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupInstTuning.cpp71 static std::optional<bool> CmpOptionals(T NewVal, T CurVal) { in CmpOptionals() argument
72 if (NewVal.has_value() && CurVal.has_value() && *NewVal != *CurVal) in CmpOptionals()
73 return *NewVal < *CurVal; in CmpOptionals()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp649 SVal NewVal; in handlePtrIncrOrDecr() local
651 NewVal = State->getLValue(ElementType, Offset, OldVal); in handlePtrIncrOrDecr()
655 NewVal = State->getLValue(ElementType, NegatedOffset, OldVal); in handlePtrIncrOrDecr()
667 ProgramStateRef NewState = setIteratorPosition(State, NewVal, *NewPos); in handlePtrIncrOrDecr()
670 assignToContainer(C, Elem, NewVal, OldPos->getContainer()); in handlePtrIncrOrDecr()
/freebsd/contrib/llvm-project/llvm/tools/llvm-tapi-diff/
H A DDiffEngine.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h147 void updateIfExistAssignPtrTypeInstr(Value *OldVal, Value *NewVal, in updateIfExistAssignPtrTypeInstr() argument
152 AssignPtrTypeInstr[NewVal] = CI; in updateIfExistAssignPtrTypeInstr()
190 void updateIfExistDeducedElementType(Value *OldVal, Value *NewVal, in updateIfExistDeducedElementType() argument
195 DeducedElTys[NewVal] = Ty; in updateIfExistDeducedElementType()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/
H A DDependencyGraph.h138 void setScheduled(bool NewVal) { Scheduled = NewVal; } in setScheduled() argument
/freebsd/sys/contrib/dev/acpica/include/
H A Dacpiosxf.h222 ACPI_STRING *NewVal);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp988 const SrcOp &CmpVal, const SrcOp &NewVal, MachineMemOperand &MMO) { in buildAtomicCmpXchgWithSuccess() argument
994 LLT NewValTy = NewVal.getLLTTy(*getMRI()); in buildAtomicCmpXchgWithSuccess()
1009 NewVal.addSrcToMIB(MIB); in buildAtomicCmpXchgWithSuccess()
1016 const SrcOp &CmpVal, const SrcOp &NewVal, in buildAtomicCmpXchg() argument
1022 LLT NewValTy = NewVal.getLLTTy(*getMRI()); in buildAtomicCmpXchg()
1035 NewVal.addSrcToMIB(MIB); in buildAtomicCmpXchg()

1234