Searched refs:BitCastInst (Results 51 - 75 of 86) sorted by relevance

1234

/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2611 llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(insn);
2637 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(generator)) {
2672 if (isa<llvm::BitCastInst>(prev)) {
2690 while (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(result)) {
2799 if (isa<llvm::BitCastInst>(&*II) && (CastAddr == &*II))
H A DCGCoroutine.cpp622 new llvm::BitCastInst(PromiseAddr.getPointer(), VoidPtrTy, "", CoroId);
H A DCodeGenFunction.cpp919 AllocaInsertPt = new llvm::BitCastInst(Undef, Int32Ty, "allocapt", EntryBB);
2134 llvm::Instruction *inst = new llvm::BitCastInst(value, value->getType(), "",
H A DCGObjC.cpp2810 } else if (llvm::BitCastInst *bitcast = dyn_cast<llvm::BitCastInst>(value)) {
H A DCGAtomic.cpp1647 else if (llvm::BitCastInst::isBitCastable(Value->getType(), InputIntTy))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp816 if (isa<BitCastInst>(U) || isa<AddrSpaceCastInst>(U)) {
1311 TmpCast = new BitCastInst(MDep->getSource(), ByValArg->getType(),
H A DRewriteStatepointsForGC.cpp473 if (auto *BC = dyn_cast<BitCastInst>(I))
1021 Base = new BitCastInst(Base, Input->getType(), "cast", InsertPt);
H A DSROA.cpp710 void visitBitCastInst(BitCastInst &BC) {
979 } else if (!isa<BitCastInst>(I) && !isa<PHINode>(I) &&
3135 assert(isa<BitCastInst>(I) || isa<AddrSpaceCastInst>(I) ||
3435 bool visitBitCastInst(BitCastInst &BC) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp905 if (auto *BC = dyn_cast<BitCastInst>(&Op)) {
2191 if (auto *BC = dyn_cast<BitCastInst>(ASC->getOperand(0)))
2195 if (auto *BCI = dyn_cast<BitCastInst>(ASCStrippedPtrOp)) {
2240 if (!isa<BitCastInst>(SrcOp) && GEP.accumulateConstantOffset(DL, Offset)) {
2260 return new BitCastInst(SrcOp, GEPType);
2279 return new BitCastInst(NGEP, GEPType);
H A DInstCombineCompares.cpp1059 if (isa<BitCastInst>(V) || isa<GetElementPtrInst>(V) || isa<PHINode>(V) ||
2727 auto *Bitcast = dyn_cast<BitCastInst>(Cmp.getOperand(0));
2771 (isa<Constant>(Op1) || isa<BitCastInst>(Op1))) {
2774 if (auto *BC2 = dyn_cast<BitCastInst>(Op1))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp315 bool visitBitCast(BitCastInst &I);
912 bool CallAnalyzer::visitBitCast(BitCastInst &I) {
H A DBranchProbabilityInfo.cpp694 if (auto *I = dyn_cast<BitCastInst>(V))
H A DMemoryDependenceAnalysis.cpp402 if (isa<BitCastInst>(U)) {
H A DVectorUtils.cpp442 if (isa<BitCastInst>(I) || isa<PtrToIntInst>(I) || isa<IntToPtrInst>(I) ||
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1474 auto *Cast = dyn_cast<BitCastInst>((UI++)->getUser());
1501 while (auto *Cast = dyn_cast<BitCastInst>(CastFn)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp237 else if (isa<BitCastInst>(V))
H A DCodeGenPrepare.cpp2084 BitCastInst *BCI = nullptr;
2087 BCI = dyn_cast<BitCastInst>(V);
6834 auto *LBC = dyn_cast<BitCastInst>(LValue);
6835 auto *HBC = dyn_cast<BitCastInst>(HValue);
7155 Instruction *NC = new BitCastInst(GEPI->getOperand(0), GEPI->getType(),
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp490 auto *NewPtr = new BitCastInst(NewAI, Info.AI->getType(), "", Info.AI);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp1446 } else if (BitCastInst *BI = dyn_cast<BitCastInst>(U)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp450 void visitBitCastInst(BitCastInst &I);
2798 void Verifier::visitBitCastInst(BitCastInst &I) {
3128 if (BitCastInst *BI = dyn_cast_or_null<BitCastInst>(Next)) {
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h5155 // BitCastInst Class
5159 class BitCastInst : public CastInst { class in inherits:CastInst
5164 /// Clone an identical BitCastInst.
5165 BitCastInst *cloneImpl() const;
5169 BitCastInst(
5177 BitCastInst(
/freebsd-12-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DMiscompilation.cpp895 CastInst *CastedResolver = new BitCastInst(
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp1651 if (isa<GetElementPtrInst>(UserI) || isa<BitCastInst>(UserI) ||
4451 AI = new BitCastInst(AI, MallocCall->getType(), "malloc_bc",
4465 auto *BI = new BitCastInst(AI, MallocCall->getType(), "calloc_bc",
4558 if (isa<GetElementPtrInst>(UserI) || isa<BitCastInst>(UserI) ||
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp1185 auto *Bitcast = new BitCastInst(NewAI, AI->getType(), "", AI);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1588 macro(BitCastInst) \

Completed in 621 milliseconds

1234