Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp233 Value *NewVal = GetValueAtEndOfBlock(UserBB); in UpdateDebugValue() local
234 DbgValue->replaceVariableLocationOp(I, NewVal); in UpdateDebugValue()
242 Value *NewVal = GetValueAtEndOfBlock(UserBB); in UpdateDebugValue() local
243 DVR->replaceVariableLocationOp(I, NewVal); in UpdateDebugValue()
484 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run() local
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
[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 DVR->replaceVariableLocationOp(OrigHeaderVal, NewVal); in RewriteUsesOfClonedInstructions()
H A DLoopPeel.cpp1067 Value *NewVal = PHI->getIncomingValueForBlock(Latch); in peelLoop() local
1068 Instruction *LatchInst = dyn_cast<Instruction>(NewVal); in peelLoop()
1070 NewVal = LVMap[LatchInst]; in peelLoop()
1072 PHI->setIncomingValueForBlock(NewPreHeader, NewVal); in peelLoop()
/freebsd/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/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.cpp404 Value *NewVal = nullptr; in optimizeLiveType() local
407 NewVal = BBUseValMap[U->getParent()][ValMap[Op]]; in optimizeLiveType()
415 NewVal = Op; in optimizeLiveType()
417 NewVal = in optimizeLiveType()
420 BBUseValMap[U->getParent()][ValMap[Op]] = NewVal; in optimizeLiveType()
423 assert(NewVal); in optimizeLiveType()
424 U->setOperand(OpIdx, NewVal); in optimizeLiveType()
500 auto *NewVal = IRB.CreateBitCast( in visitLoadInst() local
502 LI.replaceAllUsesWith(NewVal); in visitLoadInst()
H A DAMDGPUCodeGenPrepare.cpp622 Value *NewVal = PoisonValue::get(Ty); in insertValues() local
624 NewVal = Builder.CreateInsertElement(NewVal, Values[I], I); in insertValues()
626 return NewVal; in insertValues()
684 Value *NewVal = insertValues(Builder, Ty, ResultVals); in replaceMulWithMul24() local
685 NewVal->takeName(&I); in replaceMulWithMul24()
686 I.replaceAllUsesWith(NewVal); in replaceMulWithMul24()
1156 Value *NewVal = insertValues(Builder, FDiv.getType(), ResultVals); in visitFDiv() local
1158 if (NewVal) { in visitFDiv()
1159 FDiv.replaceAllUsesWith(NewVal); in visitFDiv()
1160 NewVal->takeName(&FDiv); in visitFDiv()
H A DAMDGPULowerKernelArguments.cpp268 Value *NewVal = Builder.CreateBitCast(Trunc, ArgTy, in lowerKernelArguments() local
270 Arg.replaceAllUsesWith(NewVal); in lowerKernelArguments()
/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.cpp418 Value *NewVal = Builder.CreateBitCast(NewLI, LI->getType()); in convertAtomicLoadToIntegerType() local
419 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType()
434 Value *NewVal = Val->getType()->isPointerTy() in convertAtomicXchgToIntegerType() local
438 auto *NewRMWI = Builder.CreateAtomicRMW(AtomicRMWInst::Xchg, Addr, NewVal, in convertAtomicXchgToIntegerType()
539 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType() local
543 StoreInst *NewSI = Builder.CreateStore(NewVal, Addr); in convertAtomicStoreToIntegerType()
575 Value *Loaded, Value *NewVal, Align AddrAlign, in createCmpXchgInstFun() argument
578 Type *OrigTy = NewVal->getType(); in createCmpXchgInstFun()
585 NewVal = Builder.CreateBitCast(NewVal, IntTy); in createCmpXchgInstFun()
590 Addr, Loaded, NewVal, AddrAlign, MemOpOrder, in createCmpXchgInstFun()
[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/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp116 Value *NewVal; in SimplifyDemandedBits() local
119 NewVal = SimplifyDemandedUseBits(VInst, DemandedMask, Known, Depth, Q); in SimplifyDemandedBits()
123 NewVal = in SimplifyDemandedBits()
126 if (!NewVal) return false; in SimplifyDemandedBits()
130 replaceUse(U, NewVal); in SimplifyDemandedBits()
798 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local
800 return InsertNewInstWith(NewVal, I->getIterator()); in SimplifyDemandedUseBits()
935 Instruction *NewVal; in SimplifyDemandedUseBits() local
937 NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits()
940 NewVal = BinaryOperator::CreateShl( in SimplifyDemandedUseBits()
[all …]
/freebsd/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()
685 SDValue NewVal(M, i); in ReplaceValueWith() local
687 RemapValue(NewVal); in ReplaceValueWith()
693 auto NewValId = getTableId(NewVal); in ReplaceValueWith()
694 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith()
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DUtility.h192 ScopedOverride(T &Loc_, T NewVal) : Loc(Loc_), Original(Loc_) { in ScopedOverride()
193 Loc_ = std::move(NewVal);
194 ScopedOverride(T & Loc_,T NewVal) ScopedOverride() argument
/freebsd/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/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.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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp643 SVal NewVal; in handlePtrIncrOrDecr() local
645 NewVal = State->getLValue(ElementType, Offset, OldVal); in handlePtrIncrOrDecr()
649 NewVal = State->getLValue(ElementType, NegatedOffset, OldVal); in handlePtrIncrOrDecr()
661 ProgramStateRef NewState = setIteratorPosition(State, NewVal, *NewPos); in handlePtrIncrOrDecr()
664 assignToContainer(C, Iterator, NewVal, OldPos->getContainer()); in handlePtrIncrOrDecr()
/freebsd/contrib/llvm-project/llvm/tools/llvm-tapi-diff/
H A DDiffEngine.cpp
/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()
H A DFunction.h124 void setIsNewDbgInfoFormat(bool NewVal);
125 void setNewDbgInfoFormatFlag(bool NewVal);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp963 const SrcOp &CmpVal, const SrcOp &NewVal, MachineMemOperand &MMO) { in buildAtomicCmpXchgWithSuccess() argument
969 LLT NewValTy = NewVal.getLLTTy(*getMRI()); in buildAtomicCmpXchgWithSuccess()
984 NewVal.addSrcToMIB(MIB); in buildAtomicCmpXchgWithSuccess()
991 const SrcOp &CmpVal, const SrcOp &NewVal, in buildAtomicCmpXchg() argument
997 LLT NewValTy = NewVal.getLLTTy(*getMRI()); in buildAtomicCmpXchg()
1010 NewVal.addSrcToMIB(MIB); in buildAtomicCmpXchg()
/freebsd/sys/contrib/dev/acpica/include/
H A Dacpiosxf.h222 ACPI_STRING *NewVal);
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DMSVC.cpp944 std::string NewVal = std::string(Val); in TranslateDArg() local
945 NewVal[Hash] = '='; in TranslateDArg()
946 DAL.AddJoinedArg(A, Opts.getOption(options::OPT_D), NewVal); in TranslateDArg()

1234