Home
last modified time | relevance | path

Searched refs:BCI (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp114 auto *BCI = dyn_cast<BitCastInst>(U); in processUse() local
115 if (!Load && !BCI) { in processUse()
119 BCI = dyn_cast<BitCastInst>(*U->user_begin()); in processUse()
122 if (BCI) { in processUse()
123 if (!BCI->hasOneUse()) in processUse()
125 Load = dyn_cast<LoadInst>(*BCI->user_begin()); // Load from BCI? in processUse()
H A DAMDGPURewriteOutArguments.cpp125 if (auto *BCI = dyn_cast<BitCastInst>(U->getUser())) { in getStoredType()
126 for (Use &U : BCI->uses()) in getStoredType() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBlockCoverageInference.cpp252 const BlockCoverageInference *BCI; member in llvm::DotFuncBCIInfo
256 DotFuncBCIInfo(const BlockCoverageInference *BCI, in DotFuncBCIInfo() argument
258 : BCI(BCI), Coverage(Coverage) {} in DotFuncBCIInfo()
260 const Function &getFunction() { return BCI->F; } in getFunction()
263 return BCI->shouldInstrumentBlock(*BB); in isInstrumented()
271 return BCI->getDependencies(*Src).count(Dest); in isDependent()
H A DPGOInstrumentation.cpp555 const std::optional<BlockCoverageInference> BCI; member in __anon0925556b0111::FuncPGOInstrumentation
595 BCI(constructBCI(Func, HasSingleByteCoverage, InstrumentFuncEntry)) { in FuncPGOInstrumentation()
596 if (BCI && PGOViewBlockCoverageGraph) in FuncPGOInstrumentation()
597 BCI->viewBlockCoverageGraph(); in FuncPGOInstrumentation()
665 if (BCI) { in computeCFGHash()
666 updateJCH(BCI->getInstrumentedBlocksHash()); in computeCFGHash()
759 if (BCI) { in getInstrumentBBs()
761 if (BCI->shouldInstrumentBlock(BB)) in getInstrumentBBs()
1207 if (FuncInfo.BCI) in setupBBInfoEdges()
1434 if (FuncInfo.BCI->shouldInstrumentBlock(BB)) in populateCoverage()
[all …]
H A DSanitizerBinaryMetadata.cpp342 } else if (auto *BCI = dyn_cast<BitCastInst>(U)) { in hasUseAfterReturnUnsafeUses() local
343 if (!hasUseAfterReturnUnsafeUses(*BCI)) in hasUseAfterReturnUnsafeUses()
H A DDataFlowSanitizer.cpp800 void visitBitCastInst(BitCastInst &BCI);
2755 void DFSanVisitor::visitBitCastInst(BitCastInst &BCI) { in visitBitCastInst() argument
2759 if (auto *CI = dyn_cast<CallInst>(BCI.getOperand(0))) in visitBitCastInst()
2762 visitInstOperands(BCI); in visitBitCastInst()
/freebsd/sys/contrib/device-tree/Bindings/power/supply/
H A Dtwl-charger.txt1 TWL BCI (Battery Charger Interface)
9 if there is a sibling of the BCI node which is compatible with
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp304 bool visitBitCastInst(BitCastInst &BCI);
881 bool ScalarizerVisitor::visitBitCastInst(BitCastInst &BCI) { in visitBitCastInst() argument
882 std::optional<VectorSplit> DstVS = getVectorSplit(BCI.getDestTy()); in visitBitCastInst()
883 std::optional<VectorSplit> SrcVS = getVectorSplit(BCI.getSrcTy()); in visitBitCastInst()
892 IRBuilder<> Builder(&BCI); in visitBitCastInst()
893 Scatterer Op0 = scatter(&BCI, BCI.getOperand(0), *SrcVS); in visitBitCastInst()
904 BCI.getName() + ".i" + Twine(I)); in visitBitCastInst()
929 Scatterer Mid = scatter(&BCI, V, MidVS); in visitBitCastInst()
950 BCI.getName() + ".i" + Twine(I)); in visitBitCastInst()
952 BCI.getName() + ".i" + Twine(I)); in visitBitCastInst()
[all …]
H A DCallSiteSplitting.cpp244 BitCastInst* BCI = dyn_cast<BitCastInst>(&*II); in copyMustTailReturn() local
245 if (BCI) in copyMustTailReturn()
253 if (BCI) in copyMustTailReturn()
254 V = cloneInstForMustTail(BCI, TI, V); in copyMustTailReturn()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp720 BitCastInst *BCI = dyn_cast<BitCastInst>(V); in compute() local
721 if (BCI) in compute()
722 return computeFromBCI(BCI, Result, DL); in compute()
732 static bool computeFromBCI(BitCastInst *BCI, VectorInfo &Result, in computeFromBCI()
734 Instruction *Op = dyn_cast<Instruction>(BCI->getOperand(0)); in computeFromBCI()
770 Result.Is.insert(BCI); in computeFromBCI()
H A DStackColoring.cpp972 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Use.get())) in remapInstructions() local
973 if (BCI->isUsedByMetadata()) in remapInstructions()
974 ValueAsMetadata::handleRAUW(BCI, PoisonValue::get(BCI->getType())); in remapInstructions()
H A DCodeGenPrepare.cpp2636 BitCastInst *BCI = nullptr; in dupRetToEnableTailCallOpts() local
2639 BCI = dyn_cast<BitCastInst>(V); in dupRetToEnableTailCallOpts()
2640 if (BCI) in dupRetToEnableTailCallOpts()
2641 V = BCI->getOperand(0); in dupRetToEnableTailCallOpts()
2670 while (isa<DbgInfoIntrinsic>(BI) || BI == BCI || BI == EVI || in dupRetToEnableTailCallOpts()
7335 if (auto *BCI = dyn_cast<Instruction>(BC1)) in optimizeShuffleVectorInst() local
7336 if (auto *Op = dyn_cast<Instruction>(BCI->getOperand(0))) in optimizeShuffleVectorInst()
7337 if (BCI->getParent() != Op->getParent() && !isa<PHINode>(Op) && in optimizeShuffleVectorInst()
7339 BCI->moveAfter(Op); in optimizeShuffleVectorInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp395 if (auto *BCI = dyn_cast<BitCastInst>(Divisor)) in insertFastDivAndRem() local
396 if (BCI->getParent() == SlowDivOrRem->getParent() && in insertFastDivAndRem()
397 isa<ConstantInt>(BCI->getOperand(0))) in insertFastDivAndRem()
H A DPromoteMemoryToRegister.cpp84 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) { in isAllocaPromotable() local
85 if (!onlyUsedByLifetimeMarkersOrDroppableInsts(BCI)) in isAllocaPromotable()
H A DBasicBlockUtils.cpp1563 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V)) { in FoldReturnIntoUncondBranch() local
1566 V = BCI->getOperand(0); in FoldReturnIntoUncondBranch()
1567 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroEarly.cpp96 auto *BCI = Builder.CreateBitCast(Operand, FramePtrTy); in lowerCoroDone() local
97 auto *Load = Builder.CreateLoad(FrameTy, BCI); in lowerCoroDone()
H A DCoroutines.cpp372 auto BCI = new BitCastInst(*SI, *RI, "", Suspend->getIterator()); in buildFrom() local
373 SI->set(BCI); in buildFrom()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp2553 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi() local
2555 if (!BCI) in optimizeBitCastFromPhi()
2559 Type *TyA = BCI->getOperand(0)->getType(); in optimizeBitCastFromPhi()
2560 Type *TyB = BCI->getType(); in optimizeBitCastFromPhi()
2573 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() local
2575 Type *TyB = BCI->getOperand(0)->getType(); in optimizeBitCastFromPhi()
2576 Type *TyA = BCI->getType(); in optimizeBitCastFromPhi()
2616 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() local
2617 NewV = BCI->getOperand(0); in optimizeBitCastFromPhi()
2648 else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1053 if (auto *BCI = dyn_cast<BitCastInst>(U)) { in valueIsOnlyUsedLocallyOrStoredToOneGlobal() local
1054 Worklist.push_back(BCI); in valueIsOnlyUsedLocallyOrStoredToOneGlobal()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1201 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address)) in handleDebugDeclare() local
1202 Address = BCI->getOperand(0); in handleDebugDeclare()