Home
last modified time | relevance | path

Searched refs:IRBuilderBase (Results 1 – 25 of 80) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSimplifyLibCalls.h27 class IRBuilderBase; variable
52 Value *optimizeCall(CallInst *CI, IRBuilderBase &B);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilderBase &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilderBase &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilderBase &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
62 Value *optimizeStrLenChk(CallInst *CI, IRBuilderBase &B);
63 Value *optimizeMemPCpyChk(CallInst *CI, IRBuilderBase &B);
64 Value *optimizeMemCCpyChk(CallInst *CI, IRBuilderBase &B);
[all …]
H A DBuildLibCalls.h22 class IRBuilderBase; variable
93 Value *emitStrLen(Value *Ptr, IRBuilderBase &B, const DataLayout &DL,
99 Value *emitStrDup(Value *Ptr, IRBuilderBase &B, const TargetLibraryInfo *TLI);
104 Value *emitStrChr(Value *Ptr, char C, IRBuilderBase &B,
108 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B,
113 Value *emitStrCpy(Value *Dst, Value *Src, IRBuilderBase &B,
118 Value *emitStpCpy(Value *Dst, Value *Src, IRBuilderBase &B,
123 Value *emitStrNCpy(Value *Dst, Value *Src, Value *Len, IRBuilderBase &B,
128 Value *emitStpNCpy(Value *Dst, Value *Src, Value *Len, IRBuilderBase &B,
134 IRBuilderBase &B, const DataLayout &DL,
[all …]
H A DLoopUtils.h33 class IRBuilderBase; variable
383 Value *createMinMaxOp(IRBuilderBase &Builder, RecurKind RK, Value *Left,
387 Value *getOrderedReduction(IRBuilderBase &Builder, Value *Acc, Value *Src,
392 Value *getShuffleReduction(IRBuilderBase &Builder, Value *Src, unsigned Op,
402 Value *createSimpleTargetReduction(IRBuilderBase &B, Value *Src,
412 Value *createAnyOfTargetReduction(IRBuilderBase &B, Value *Src,
420 Value *createTargetReduction(IRBuilderBase &B, const RecurrenceDescriptor &Desc,
425 Value *createOrderedReduction(IRBuilderBase &B,
543 function_ref<Value *(IRBuilderBase &, unsigned)> GetVF, unsigned IC);
H A DMatrixUtils.h24 class IRBuilderBase; variable
74 IRBuilderBase &B, DomTreeUpdater &DTU,
84 IRBuilderBase &B, DomTreeUpdater &DTU, Loop *L,
H A DLowerAtomic.h21 class IRBuilderBase; variable
33 Value *buildAtomicRMWValue(AtomicRMWInst::BinOp Op, IRBuilderBase &Builder,
H A DVNCoercion.h30 class IRBuilderBase; variable
47 IRBuilderBase &IRB, const DataLayout &DL);
H A DBasicBlockUtils.h35 class IRBuilderBase; variable
555 std::function<void(IRBuilderBase&, Value*)> Func);
567 std::function<void(IRBuilderBase &, Value *)> Func);
682 void InvertBranch(BranchInst *PBI, IRBuilderBase &Builder);
H A DScalarEvolutionExpander.h136 IRBuilderBase &Builder;
146 SCEVInsertPointGuard(IRBuilderBase &B, SCEVExpander *SE) in SCEVInsertPointGuard()
158 Builder.restoreIP(IRBuilderBase::InsertPoint(Block, Point)); in ~SCEVInsertPointGuard()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp44 GlobalVariable *IRBuilderBase::CreateGlobalString(StringRef Str, in CreateGlobalString()
59 Type *IRBuilderBase::getCurrentFunctionReturnType() const { in getCurrentFunctionReturnType()
64 DebugLoc IRBuilderBase::getCurrentDebugLocation() const { in getCurrentDebugLocation()
71 void IRBuilderBase::SetInstDebugLocation(Instruction *I) const { in SetInstDebugLocation()
80 IRBuilderBase::createCallHelper(Function *Callee, ArrayRef<Value *> Ops, in createCallHelper()
89 Value *IRBuilderBase::CreateVScale(Constant *Scaling, const Twine &Name) { in CreateVScale()
100 Value *IRBuilderBase::CreateElementCount(Type *DstType, ElementCount EC) { in CreateElementCount()
105 Value *IRBuilderBase::CreateTypeSize(Type *DstType, TypeSize Size) { in CreateTypeSize()
110 Value *IRBuilderBase::CreateStepVector(Type *DstType, const Twine &Name) { in CreateStepVector()
138 CallInst *IRBuilderBase::CreateMemSet(Value *Ptr, Value *Val, Value *Size, in CreateMemSet()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp138 uint64_t Base, bool AsSigned, IRBuilderBase &B) { in convertStrToInt()
357 Value *LibCallSimplifier::optimizeStrCat(CallInst *CI, IRBuilderBase &B) { in optimizeStrCat()
379 IRBuilderBase &B) { in emitStrLenMemCpy()
399 Value *LibCallSimplifier::optimizeStrNCat(CallInst *CI, IRBuilderBase &B) { in optimizeStrNCat()
446 IRBuilderBase &B, const DataLayout &DL) in memChrToCharCompare()
467 Value *LibCallSimplifier::optimizeStrChr(CallInst *CI, IRBuilderBase &B) { in optimizeStrChr()
529 Value *LibCallSimplifier::optimizeStrRChr(CallInst *CI, IRBuilderBase &B) { in optimizeStrRChr()
553 Value *LibCallSimplifier::optimizeStrCmp(CallInst *CI, IRBuilderBase &B) { in optimizeStrCmp()
616 IRBuilderBase &B, const DataLayout &DL);
618 Value *LibCallSimplifier::optimizeStrNCmp(CallInst *CI, IRBuilderBase &B) { in optimizeStrNCmp()
[all …]
H A DBuildLibCalls.cpp1439 static IntegerType *getIntTy(IRBuilderBase &B, const TargetLibraryInfo *TLI) { in getIntTy()
1443 static IntegerType *getSizeTTy(IRBuilderBase &B, const TargetLibraryInfo *TLI) { in getSizeTTy()
1450 ArrayRef<Value *> Operands, IRBuilderBase &B, in emitLibCall()
1468 Value *llvm::emitStrLen(Value *Ptr, IRBuilderBase &B, const DataLayout &DL, in emitStrLen()
1475 Value *llvm::emitStrDup(Value *Ptr, IRBuilderBase &B, in emitStrDup()
1481 Value *llvm::emitStrChr(Value *Ptr, char C, IRBuilderBase &B, in emitStrChr()
1489 Value *llvm::emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B, in emitStrNCmp()
1500 Value *llvm::emitStrCpy(Value *Dst, Value *Src, IRBuilderBase &B, in emitStrCpy()
1507 Value *llvm::emitStpCpy(Value *Dst, Value *Src, IRBuilderBase &B, in emitStpCpy()
1514 Value *llvm::emitStrNCpy(Value *Dst, Value *Src, Value *Len, IRBuilderBase &B, in emitStrNCpy()
[all …]
H A DMatrixUtils.cpp25 IRBuilderBase &B, DomTreeUpdater &DTU, Loop *L, in CreateLoop()
71 IRBuilderBase &B, DomTreeUpdater &DTU, in CreateTiledLoops()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp123 Value *insertb(IRBuilderBase &Builder, Value *Dest, Value *Src, int Start,
125 Value *vlalignb(IRBuilderBase &Builder, Value *Lo, Value *Hi,
127 Value *vralignb(IRBuilderBase &Builder, Value *Lo, Value *Hi,
129 Value *concat(IRBuilderBase &Builder, ArrayRef<Value *> Vecs) const;
130 Value *vresize(IRBuilderBase &Builder, Value *Val, int NewSize,
132 Value *rescale(IRBuilderBase &Builder, Value *Mask, Type *FromTy,
134 Value *vlsb(IRBuilderBase &Builder, Value *Val) const;
135 Value *vbytes(IRBuilderBase &Builder, Value *Val) const;
136 Value *subvector(IRBuilderBase &Builder, Value *Val, unsigned Start,
138 Value *sublo(IRBuilderBase &Builder, Value *Val) const;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.h20 class IRBuilderBase; variable
31 DXILOpBuilder(Module &M, IRBuilderBase &B) : M(M), B(B) {} in DXILOpBuilder()
44 IRBuilderBase &B;
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
H A DLocal.h20 class IRBuilderBase; variable
29 Value *emitGEPOffset(IRBuilderBase *Builder, const DataLayout &DL, User *GEP,
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DVectorBuilder.h39 IRBuilderBase &Builder;
66 VectorBuilder(IRBuilderBase &Builder,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp82 insertRMWLLSCLoop(IRBuilderBase &Builder, Type *ResultTy, Value *Addr,
84 function_ref<Value *(IRBuilderBase &, Value *)> PerformOp);
88 function_ref<Value *(IRBuilderBase &, Value *)> PerformOp);
98 IRBuilderBase &Builder, Type *ResultType, Value *Addr, Align AddrAlign,
100 function_ref<Value *(IRBuilderBase &, Value *)> PerformOp,
460 [](IRBuilderBase &Builder, Value *Loaded) { return Loaded; }); in tryExpandAtomicLoad()
574 static void createCmpXchgInstFun(IRBuilderBase &Builder, Value *Addr, in createCmpXchgInstFun()
612 auto PerformOp = [&](IRBuilderBase &Builder, Value *Loaded) { in tryExpandAtomicRMW()
737 static PartwordMaskValues createMaskInstrs(IRBuilderBase &Builder, in createMaskInstrs()
804 static Value *extractMaskedValue(IRBuilderBase &Builder, Value *WideWord, in extractMaskedValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h44 class IRBuilderBase; variable
647 Instruction *makeDMB(IRBuilderBase &Builder, ARM_MB::MemBOpt Domain) const;
648 Value *emitLoadLinked(IRBuilderBase &Builder, Type *ValueTy, Value *Addr,
650 Value *emitStoreConditional(IRBuilderBase &Builder, Value *Val, Value *Addr,
654 emitAtomicCmpXchgNoStoreLLBalance(IRBuilderBase &Builder) const override;
656 Instruction *emitLeadingFence(IRBuilderBase &Builder, Instruction *Inst,
658 Instruction *emitTrailingFence(IRBuilderBase &Builder, Instruction *Inst,
760 IRBuilderBase &B, ComplexDeinterleavingOperation OperationType,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h40 class IRBuilderBase; variable
132 Value *buildMinimalMultiplyDAG(IRBuilderBase &Builder,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp71 IRBuilderBase &Builder);
75 IRBuilderBase &Builder);
123 IRBuilderBase &Builder) { in matchStridedStart()
199 IRBuilderBase &Builder) { in matchStridedRecurrence()
334 IRBuilderBase &Builder) { in determineBaseAndStride()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAtomicExpandUtils.h25 function_ref<void(IRBuilderBase &, Value *, Value *, Value *, Align,
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp73 Value *Step, StringRef Name, IRBuilderBase &B,
77 IRBuilderBase &B, Value *Row, Value *Col,
86 createTileDPLoops(BasicBlock *Start, BasicBlock *End, IRBuilderBase &B,
106 IRBuilderBase &B, Loop *L) { in createLoop()
149 BasicBlock *Start, BasicBlock *End, IRBuilderBase &B, Value *Row, in createTileLoadStoreLoops()
242 IRBuilderBase &B, Value *Row, in createTileDPLoops()
H A DX86PreAMXConfig.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVectorUtils.h121 class IRBuilderBase; variable
350 Constant *createBitMaskForGaps(IRBuilderBase &Builder, unsigned VF,
423 Value *concatenateVectors(IRBuilderBase &Builder, ArrayRef<Value *> Vecs);
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h205 Instruction *emitLeadingFence(IRBuilderBase &Builder, Instruction *Inst,
207 Instruction *emitTrailingFence(IRBuilderBase &Builder, Instruction *Inst,

1234