| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | FixedPoint.cpp | 20 llvm::APSInt NewVal = Val; in convert() local 26 NewVal = NewVal.extend(NewVal.getBitWidth() + DstScale - getScale()); in convert() 27 NewVal <<= (DstScale - getScale()); in convert() 29 NewVal >>= (getScale() - DstScale); in convert() 34 NewVal.getBitWidth(), in convert() 36 llvm::APInt Masked(NewVal & Mask); in convert() 40 NewVal = NewVal.isNegative() ? Mask : ~Mask; in convert() 43 NewVal = 0; in convert() 46 NewVal = NewVal.extOrTrunc(DstWidth); in convert() 47 NewVal.setIsSigned(DstSema.isSigned()); in convert() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | SSAUpdater.cpp | 451 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run() local 452 replaceLoadWithValue(ALoad, NewVal); in run() 455 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType()); in run() 456 ALoad->replaceAllUsesWith(NewVal); in run() 457 ReplacedLoads[ALoad] = NewVal; in run() 471 Value *NewVal = ReplacedLoads[User]; in run() local 472 assert(NewVal && "not a replaced load?"); in run() 479 NewVal = RLI->second; in run() 480 RLI = ReplacedLoads.find(NewVal); in run() 483 replaceLoadWithValue(cast<LoadInst>(User), NewVal); in run() [all …]
|
| H A D | LoopRotationUtils.cpp | 160 Value *NewVal; in RewriteUsesOfClonedInstructions() local 162 NewVal = OrigPreHeaderVal; in RewriteUsesOfClonedInstructions() 164 NewVal = SSA.GetValueInMiddleOfBlock(UserBB); in RewriteUsesOfClonedInstructions() 166 NewVal = UndefValue::get(OrigHeaderVal->getType()); in RewriteUsesOfClonedInstructions() 169 ValueAsMetadata::get(NewVal))); in RewriteUsesOfClonedInstructions()
|
| H A D | LoopUnrollPeel.cpp | 643 Value *NewVal = PHI->getIncomingValueForBlock(Latch); in peelLoop() local 644 Instruction *LatchInst = dyn_cast<Instruction>(NewVal); in peelLoop() 646 NewVal = LVMap[LatchInst]; in peelLoop() 648 PHI->setIncomingValue(PHI->getBasicBlockIndex(NewPreHeader), NewVal); in peelLoop()
|
| H A D | Evaluator.cpp | 341 Constant *NewVal; in EvaluateBlock() local 342 while (!(NewVal = ConstantFoldLoadThroughBitcast(Val, NewTy, DL))) { in EvaluateBlock() 366 Val = NewVal; in EvaluateBlock()
|
| H A D | Local.cpp | 680 Value *NewVal = PN->getIncomingValue(0); in MergeBasicBlockIntoOnlyPred() local 682 if (NewVal == PN) NewVal = UndefValue::get(PN->getType()); in MergeBasicBlockIntoOnlyPred() 683 PN->replaceAllUsesWith(NewVal); in MergeBasicBlockIntoOnlyPred()
|
| /freebsd-12.1/sys/dev/acpica/Osd/ |
| H A D | OsdTable.c | 51 ACPI_STRING *NewVal) in AcpiOsPredefinedOverride() argument 54 if (InitVal == NULL || NewVal == NULL) in AcpiOsPredefinedOverride() 57 *NewVal = NULL; in AcpiOsPredefinedOverride() 62 *NewVal = acpi_osname; in AcpiOsPredefinedOverride()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 392 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType() 500 Addr, Loaded, NewVal, MemOpOrder, in createCmpXchgInstFun() 510 Value *NewVal; in performAtomicOp() local 527 NewVal = Builder.CreateICmpSGT(Loaded, Inc); in performAtomicOp() 530 NewVal = Builder.CreateICmpSLE(Loaded, Inc); in performAtomicOp() 533 NewVal = Builder.CreateICmpUGT(Loaded, Inc); in performAtomicOp() 822 Value *NewVal = CI->getNewValOperand(); in expandPartwordCmpXchg() local 1011 Value *NewVal = PerformOp(Builder, Loaded); in insertRMWLLSCLoop() local 1362 Value *NewVal = PerformOp(Builder, Loaded); in insertRMWCmpXchgLoop() local 1367 CreateCmpXchg(Builder, Addr, Loaded, NewVal, in insertRMWCmpXchgLoop() [all …]
|
| H A D | CodeGenPrepare.cpp | 2201 OperandSetter(Instruction *Inst, unsigned Idx, Value *NewVal) in OperandSetter() argument 2205 << "with:" << *NewVal << "\n"); in OperandSetter() 2207 Inst->setOperand(Idx, NewVal); in OperandSetter() 2477 void setOperand(Instruction *Inst, unsigned Idx, Value *NewVal); 2513 Value *NewVal) { in setOperand() argument 2515 Inst, Idx, NewVal)); in setOperand() 2519 Value *NewVal) { in eraseInstruction() argument 2522 Inst, RemovedInsts, NewVal)); in eraseInstruction() 6304 Value *NewVal = nullptr; in promoteImpl() local 6310 NewVal = getConstantVector( in promoteImpl() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | TinyPtrVector.h | 241 void push_back(EltTy NewVal) { in push_back() argument 242 assert(NewVal && "Can't add a null value"); in push_back() 246 Val = NewVal; in push_back() 257 Val.template get<VecTy*>()->push_back(NewVal); in push_back()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Demangle/ |
| H A D | Utility.h | 149 SwapAndRestore(T &Restore_, T NewVal) in SwapAndRestore() argument 151 Restore = std::move(NewVal); in SwapAndRestore()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/ |
| H A D | MachineIRBuilder.cpp | 249 const ConstantInt *NewVal = &Val; in buildConstant() local 251 NewVal = ConstantInt::get(getMF().getFunction().getContext(), in buildConstant() 256 MIB.addCImm(NewVal); in buildConstant() 605 unsigned NewVal, MachineMemOperand &MMO) { in buildAtomicCmpXchgWithSuccess() argument 611 LLT NewValTy = getMRI()->getType(NewVal); in buildAtomicCmpXchgWithSuccess() 626 .addUse(NewVal) in buildAtomicCmpXchgWithSuccess() 632 unsigned CmpVal, unsigned NewVal, in buildAtomicCmpXchg() argument 638 LLT NewValTy = getMRI()->getType(NewVal); in buildAtomicCmpXchg() 651 .addUse(NewVal) in buildAtomicCmpXchg()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 86 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, Known, in SimplifyDemandedBits() local 88 if (!NewVal) return false; in SimplifyDemandedBits() 89 U = NewVal; in SimplifyDemandedBits() 528 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local 530 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits() 679 Instruction *NewVal; in SimplifyDemandedUseBits() local 681 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits() 684 NewVal = BinaryOperator::CreateShl(II->getArgOperand(0), in SimplifyDemandedUseBits() 686 NewVal->takeName(I); in SimplifyDemandedUseBits() 687 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits()
|
| /freebsd-12.1/sys/contrib/dev/acpica/os_specific/service_layers/ |
| H A D | osunixxf.c | 391 ACPI_STRING *NewVal) in AcpiOsPredefinedOverride() argument 394 if (!InitVal || !NewVal) in AcpiOsPredefinedOverride() 399 *NewVal = NULL; in AcpiOsPredefinedOverride()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeTypes.cpp | 108 SDValue NewVal = getSDValue(NewValId); in PerformExpensiveChecks() local 109 (void)NewVal; in PerformExpensiveChecks() 110 assert(NewVal.getNode()->getNodeId() != NewNode && in PerformExpensiveChecks() 680 SDValue NewVal(M, i); in ReplaceValueWith() local 682 RemapValue(NewVal); in ReplaceValueWith() 688 auto NewValId = getTableId(NewVal); in ReplaceValueWith() 689 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelArguments.cpp | 210 Value *NewVal = Builder.CreateBitCast(Trunc, ArgTy, in runOnFunction() local 212 Arg.replaceAllUsesWith(NewVal); in runOnFunction()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMCodeGenPrepare.cpp | 507 Value *NewVal = Opc == Instruction::Sub ? in PrepareConstants() local 510 LLVM_DEBUG(dbgs() << "ARM CGP: New equivalent: " << *NewVal << "\n"); in PrepareConstants() 512 if (auto *NewInst = dyn_cast<Instruction>(NewVal)) { in PrepareConstants() 517 I->replaceAllUsesWith(NewVal); in PrepareConstants()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | MachineIRBuilder.h | 859 unsigned Addr, unsigned CmpVal, unsigned NewVal, 877 unsigned CmpVal, unsigned NewVal,
|
| /freebsd-12.1/contrib/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.h | 135 Value *NewVal, Value *Mask,
|
| /freebsd-12.1/sys/contrib/dev/acpica/include/ |
| H A D | acpiosxf.h | 222 ACPI_STRING *NewVal);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/ToolChains/ |
| H A D | MSVC.cpp | 1434 std::string NewVal = Val; in TranslateDArg() local 1435 NewVal[Hash] = '='; in TranslateDArg() 1436 DAL.AddJoinedArg(A, Opts.getOption(options::OPT_D), NewVal); in TranslateDArg()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsExpandPseudo.cpp | 247 unsigned NewVal = I->getOperand(3).getReg(); in expandAtomicCmpSwap() local 287 BuildMI(loop2MBB, DL, TII->get(MOVE), Scratch).addReg(NewVal).addReg(ZERO); in expandAtomicCmpSwap()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | EfficiencySanitizer.cpp | 895 Value *NewVal = IRB.CreateOr(OldValue, ValueMask); in instrumentFastpathWorkingSet() local 896 IRB.CreateStore(NewVal, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy)); in instrumentFastpathWorkingSet()
|
| H A D | InstrProfiling.cpp | 207 auto *NewVal = Builder.CreateAdd(OldVal, LiveInValue); in doExtraRewritesBeforeFinalDeletion() local 208 auto *NewStore = Builder.CreateStore(NewVal, Addr); in doExtraRewritesBeforeFinalDeletion()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | JumpThreading.cpp | 1449 LoadInst *NewVal = in SimplifyPartiallyRedundantLoad() local 1454 NewVal->setDebugLoc(LoadI->getDebugLoc()); in SimplifyPartiallyRedundantLoad() 1456 NewVal->setAAMetadata(AATags); in SimplifyPartiallyRedundantLoad() 1458 AvailablePreds.push_back(std::make_pair(UnavailablePred, NewVal)); in SimplifyPartiallyRedundantLoad()
|