Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp95 auto *BCI = dyn_cast<BitCastInst>(*U->user_begin()); in processUse() local
96 if (!BCI || !BCI->hasOneUse()) in processUse()
99 auto *Load = dyn_cast<LoadInst>(*BCI->user_begin()); in processUse()
H A DAMDGPURewriteOutArguments.cpp127 auto *BCI = dyn_cast<BitCastInst>(U.getUser()); in checkArgumentUses() local
128 if (!BCI || !BCI->hasOneUse()) in checkArgumentUses()
133 Type *DestEltTy = BCI->getType()->getPointerElementType(); in checkArgumentUses()
156 return checkArgumentUses(*BCI); in checkArgumentUses()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp200 bool visitBitCastInst(BitCastInst &BCI);
694 bool ScalarizerVisitor::visitBitCastInst(BitCastInst &BCI) { in visitBitCastInst() argument
695 VectorType *DstVT = dyn_cast<VectorType>(BCI.getDestTy()); in visitBitCastInst()
696 VectorType *SrcVT = dyn_cast<VectorType>(BCI.getSrcTy()); in visitBitCastInst()
702 IRBuilder<> Builder(&BCI); in visitBitCastInst()
703 Scatterer Op0 = scatter(&BCI, BCI.getOperand(0)); in visitBitCastInst()
710 BCI.getName() + ".i" + Twine(I)); in visitBitCastInst()
726 Scatterer Mid = scatter(&BCI, V); in visitBitCastInst()
739 BCI.getName() + ".i" + Twine(ResI) in visitBitCastInst()
742 BCI.getName() + ".i" + Twine(ResI)); in visitBitCastInst()
[all …]
H A DCallSiteSplitting.cpp246 BitCastInst* BCI = dyn_cast<BitCastInst>(&*II); in copyMustTailReturn() local
247 if (BCI) in copyMustTailReturn()
255 if (BCI) in copyMustTailReturn()
256 V = cloneInstForMustTail(BCI, TI, V); in copyMustTailReturn()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp719 BitCastInst *BCI = dyn_cast<BitCastInst>(V); in compute() local
720 if (BCI) in compute()
721 return computeFromBCI(BCI, Result, DL); in compute()
731 static bool computeFromBCI(BitCastInst *BCI, VectorInfo &Result, in computeFromBCI()
733 Instruction *Op = dyn_cast<Instruction>(BCI->getOperand(0)); in computeFromBCI()
769 Result.Is.insert(BCI); in computeFromBCI()
H A DStackColoring.cpp1000 if (BitCastInst *BCI = dyn_cast<BitCastInst>(Use.get())) in remapInstructions() local
1001 if (BCI->isUsedByMetadata()) in remapInstructions()
1002 ValueAsMetadata::handleRAUW(BCI, UndefValue::get(BCI->getType())); in remapInstructions()
H A DCodeGenPrepare.cpp2318 BitCastInst *BCI = nullptr; in dupRetToEnableTailCallOpts() local
2321 BCI = dyn_cast<BitCastInst>(V); in dupRetToEnableTailCallOpts()
2322 if (BCI) in dupRetToEnableTailCallOpts()
2323 V = BCI->getOperand(0); in dupRetToEnableTailCallOpts()
2354 while (isa<DbgInfoIntrinsic>(BI) || BI == BCI || BI == EVI || in dupRetToEnableTailCallOpts()
6908 if (auto *BCI = dyn_cast<Instruction>(BC1)) in optimizeShuffleVectorInst() local
6909 if (auto *Op = dyn_cast<Instruction>(BCI->getOperand(0))) in optimizeShuffleVectorInst()
6910 if (BCI->getParent() != Op->getParent() && !isa<PHINode>(Op) && in optimizeShuffleVectorInst()
6912 BCI->moveAfter(Op); in optimizeShuffleVectorInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp397 if (auto *BCI = dyn_cast<BitCastInst>(Divisor)) in insertFastDivAndRem() local
398 if (BCI->getParent() == SlowDivOrRem->getParent() && in insertFastDivAndRem()
399 isa<ConstantInt>(BCI->getOperand(0))) in insertFastDivAndRem()
H A DPromoteMemoryToRegister.cpp82 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) { in isAllocaPromotable() local
83 if (!onlyUsedByLifetimeMarkersOrDroppableInsts(BCI)) in isAllocaPromotable()
H A DBasicBlockUtils.cpp1304 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V)) { in FoldReturnIntoUncondBranch() local
1307 V = BCI->getOperand(0); in FoldReturnIntoUncondBranch()
1308 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroEarly.cpp95 auto *BCI = Builder.CreateBitCast(Operand, FramePtrTy); in lowerCoroDone() local
96 auto *Load = Builder.CreateLoad(FrameTy, BCI); in lowerCoroDone()
H A DCoroutines.cpp445 auto BCI = new BitCastInst(*SI, *RI, "", Suspend); in buildFrom() local
446 SI->set(BCI); in buildFrom()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp2436 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi() local
2438 if (!BCI) in optimizeBitCastFromPhi()
2442 Type *TyA = BCI->getOperand(0)->getType(); in optimizeBitCastFromPhi()
2443 Type *TyB = BCI->getType(); in optimizeBitCastFromPhi()
2456 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() local
2458 Type *TyB = BCI->getOperand(0)->getType(); in optimizeBitCastFromPhi()
2459 Type *TyA = BCI->getType(); in optimizeBitCastFromPhi()
2499 } else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() local
2500 NewV = BCI->getOperand(0); in optimizeBitCastFromPhi()
2531 else if (auto *BCI = dyn_cast<BitCastInst>(V)) { in optimizeBitCastFromPhi() local
[all …]
H A DInstructionCombining.cpp2382 if (auto *BCI = dyn_cast<BitCastInst>(ASCStrippedPtrOp)) { in visitGetElementPtrInst() local
2383 Value *SrcOp = BCI->getOperand(0); in visitGetElementPtrInst()
2384 PointerType *SrcType = cast<PointerType>(BCI->getSrcTy()); in visitGetElementPtrInst()
2444 if (Instruction *I = visitBitCast(*BCI)) { in visitGetElementPtrInst()
2445 if (I != BCI) { in visitGetElementPtrInst()
2446 I->takeName(BCI); in visitGetElementPtrInst()
2447 BCI->getParent()->getInstList().insert(BCI->getIterator(), I); in visitGetElementPtrInst()
2448 replaceInstUsesWith(*BCI, I); in visitGetElementPtrInst()
H A DInstCombineCalls.cpp1620 if (CallInst *BCI = dyn_cast<CallInst>(BI)) { in visitCallInst() local
1621 if (auto *II2 = dyn_cast<IntrinsicInst>(BCI)) { in visitCallInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp913 if (BitCastInst *BCI = dyn_cast<BitCastInst>(User)) { in OptimizeGlobalAddressOfMalloc() local
914 if (BCI->getType() == NewGV->getType()) { in OptimizeGlobalAddressOfMalloc()
915 BCI->replaceAllUsesWith(NewGV); in OptimizeGlobalAddressOfMalloc()
916 BCI->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
918 BCI->setOperand(0, NewGV); in OptimizeGlobalAddressOfMalloc()
1031 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Inst)) { in valueIsOnlyUsedLocallyOrStoredToOneGlobal() local
1032 if (!valueIsOnlyUsedLocallyOrStoredToOneGlobal(BCI, GV)) in valueIsOnlyUsedLocallyOrStoredToOneGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp386 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) { in getMallocType() local
387 MallocType = cast<PointerType>(BCI->getDestTy()); in getMallocType()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp6037 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address)) in visitIntrinsicCall() local
6038 Address = BCI->getOperand(0); in visitIntrinsicCall()
/netbsd-src/share/misc/
H A Dairport572 BCI:Barcaldine, Queensland, Australia
/netbsd-src/etc/
H A Dservices8025 bcinameservice 3415/tcp # BCI Name Service [Dennis_Parker] …
8026 bcinameservice 3415/udp # BCI Name Service [Dennis_Parker] …