/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Alignment.h | 45 friend struct MaybeAlign; 53 friend unsigned encode(struct MaybeAlign A); 54 friend struct MaybeAlign decodeMaybeAlign(unsigned Value); 117 struct MaybeAlign : public llvm::Optional<Align> { struct 123 MaybeAlign() = default; 126 MaybeAlign(const MaybeAlign &Other) = default; 127 MaybeAlign &operator=(const MaybeAlign &Other) = default; argument 128 MaybeAlign(MaybeAlign &&Other) = default; 129 MaybeAlign &operator=(MaybeAlign &&Other) = default; argument 134 explicit MaybeAlign(uint64_t Value) { in MaybeAlign() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Attributes.h | 154 MaybeAlign getAlignment() const; 158 MaybeAlign getStackAlignment() const; 288 MaybeAlign getAlignment() const; 289 MaybeAlign getStackAlignment() const; 607 MaybeAlign getRetAlignment() const; 610 MaybeAlign getParamAlignment(unsigned ArgNo) const; 616 MaybeAlign getStackAlignment(unsigned Index) const; 709 MaybeAlign Alignment; 710 MaybeAlign StackAlignment; 777 MaybeAlign getAlignment() const { return Alignment; } [all …]
|
D | DataLayout.h | 124 MaybeAlign StackNaturalAlign; 127 MaybeAlign FunctionPtrAlign; 278 MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; } in getFunctionPtrAlign() 508 inline Align getValueOrABITypeAlignment(MaybeAlign Alignment, in getValueOrABITypeAlignment()
|
D | IntrinsicInst.h | 354 MaybeAlign getDestAlign() const { return getParamAlign(ARG_DEST); } in getDestAlign() 366 setDestAlignment(MaybeAlign(Alignment)); in setDestAlignment() 368 void setDestAlignment(MaybeAlign Alignment) { in setDestAlignment() 418 MaybeAlign getSourceAlign() const { in getSourceAlign() 431 setSourceAlignment(MaybeAlign(Alignment)); in setSourceAlignment() 433 void setSourceAlignment(MaybeAlign Alignment) { in setSourceAlignment()
|
D | GlobalObject.h | 76 MaybeAlign Align = decodeMaybeAlign(AlignmentData); in getAlignment() 83 void setAlignment(MaybeAlign Align);
|
D | IRBuilder.h | 453 MaybeAlign Align, bool isVolatile = false, 460 CallInst *CreateMemSet(Value *Ptr, Value *Val, Value *Size, MaybeAlign Align, 530 return CreateMemCpy(Dst, MaybeAlign(DstAlign), Src, MaybeAlign(SrcAlign), 535 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src, 536 MaybeAlign SrcAlign, uint64_t Size, 556 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src, 557 MaybeAlign SrcAlign, Value *Size, 601 return CreateMemMove(Dst, MaybeAlign(DstAlign), Src, MaybeAlign(SrcAlign), 605 CallInst *CreateMemMove(Value *Dst, MaybeAlign DstAlign, Value *Src, 606 MaybeAlign SrcAlign, uint64_t Size, [all …]
|
D | Argument.h | 84 MaybeAlign getParamAlign() const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | Loads.cpp | 30 static MaybeAlign getBaseAlign(const Value *Base, const DataLayout &DL) { in getBaseAlign() 31 if (const MaybeAlign PA = Base->getPointerAlignment(DL)) in getBaseAlign() 41 if (MaybeAlign BA = getBaseAlign(Base, DL)) { in isAligned() 139 MaybeAlign MA, in isDereferenceableAndAlignedPointer() 206 MaybeAlign(LI->getAlignment()), LI->getType()); in isDereferenceableAndAlignedInLoop() 262 bool llvm::isSafeToLoadUnconditionally(Value *V, MaybeAlign MA, APInt &Size, in isSafeToLoadUnconditionally() 304 MaybeAlign MaybeAccessedAlign; in isSafeToLoadUnconditionally() 312 MaybeAccessedAlign = MaybeAlign(LI->getAlignment()); in isSafeToLoadUnconditionally() 318 MaybeAccessedAlign = MaybeAlign(SI->getAlignment()); in isSafeToLoadUnconditionally() 341 bool llvm::isSafeToLoadUnconditionally(Value *V, Type *Ty, MaybeAlign Alignment, in isSafeToLoadUnconditionally()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | Loads.h | 40 MaybeAlign Alignment, 62 bool isSafeToLoadUnconditionally(Value *V, MaybeAlign Alignment, APInt &Size, 86 bool isSafeToLoadUnconditionally(Value *V, Type *Ty, MaybeAlign Alignment,
|
D | TargetTransformInfo.h | 590 bool isLegalMaskedStore(Type *DataType, MaybeAlign Alignment) const; 592 bool isLegalMaskedLoad(Type *DataType, MaybeAlign Alignment) const; 600 bool isLegalMaskedScatter(Type *DataType, MaybeAlign Alignment) const; 602 bool isLegalMaskedGather(Type *DataType, MaybeAlign Alignment) const; 948 int getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment, 1236 virtual bool isLegalMaskedStore(Type *DataType, MaybeAlign Alignment) = 0; 1237 virtual bool isLegalMaskedLoad(Type *DataType, MaybeAlign Alignment) = 0; 1240 virtual bool isLegalMaskedScatter(Type *DataType, MaybeAlign Alignment) = 0; 1241 virtual bool isLegalMaskedGather(Type *DataType, MaybeAlign Alignment) = 0; 1331 virtual int getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.h | 136 int getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment, 188 bool isLegalMaskedLoad(Type *DataType, MaybeAlign Alignment); 189 bool isLegalMaskedStore(Type *DataType, MaybeAlign Alignment); 192 bool isLegalMaskedGather(Type *DataType, MaybeAlign Alignment); 193 bool isLegalMaskedScatter(Type *DataType, MaybeAlign Alignment);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.h | 156 bool isLegalMaskedLoad(Type *DataTy, MaybeAlign Alignment); 158 bool isLegalMaskedStore(Type *DataTy, MaybeAlign Alignment) { in isLegalMaskedStore() 162 bool isLegalMaskedGather(Type *Ty, MaybeAlign Alignment); 164 bool isLegalMaskedScatter(Type *Ty, MaybeAlign Alignment) { return false; } in isLegalMaskedScatter() 216 int getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.h | 139 int getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment, 152 bool isLegalMaskedLoadStore(Type *DataType, MaybeAlign Alignment) { in isLegalMaskedLoadStore() 167 bool isLegalMaskedLoad(Type *DataType, MaybeAlign Alignment) { in isLegalMaskedLoad() 171 bool isLegalMaskedStore(Type *DataType, MaybeAlign Alignment) { in isLegalMaskedStore()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Value.cpp | 675 MaybeAlign Value::getPointerAlignment(const DataLayout &DL) const { in getPointerAlignment() 679 const MaybeAlign FunctionPtrAlign = DL.getFunctionPtrAlign(); in getPointerAlignment() 684 return std::max(FunctionPtrAlign, MaybeAlign(GO->getAlignment())); in getPointerAlignment() 688 const MaybeAlign Alignment(GO->getAlignment()); in getPointerAlignment() 697 return MaybeAlign(DL.getPreferredAlignment(GVar)); in getPointerAlignment() 705 const MaybeAlign Alignment(A->getParamAlignment()); in getPointerAlignment() 714 const MaybeAlign Alignment(AI->getAlignment()); in getPointerAlignment() 718 return MaybeAlign(DL.getPrefTypeAlignment(AllocatedType)); in getPointerAlignment() 722 const MaybeAlign Alignment(Call->getRetAlignment()); in getPointerAlignment() 724 return MaybeAlign( in getPointerAlignment() [all …]
|
D | Attributes.cpp | 244 MaybeAlign Attribute::getAlignment() const { in getAlignment() 247 return MaybeAlign(pImpl->getValueAsInt()); in getAlignment() 250 MaybeAlign Attribute::getStackAlignment() const { in getStackAlignment() 253 return MaybeAlign(pImpl->getValueAsInt()); in getStackAlignment() 670 MaybeAlign AttributeSet::getAlignment() const { in getAlignment() 674 MaybeAlign AttributeSet::getStackAlignment() const { in getStackAlignment() 838 MaybeAlign AttributeSetNode::getAlignment() const { in getAlignment() 845 MaybeAlign AttributeSetNode::getStackAlignment() const { in getStackAlignment() 1166 const MaybeAlign OldAlign = getAttributes(Index).getAlignment(); in addAttributes() 1167 const MaybeAlign NewAlign = B.getAlignment(); in addAttributes() [all …]
|
D | Globals.cpp | 117 setAlignment(MaybeAlign(Align)); in setAlignment() 120 void GlobalObject::setAlignment(MaybeAlign Align) { in setAlignment() 126 assert(MaybeAlign(getAlignment()) == Align && in setAlignment() 132 setAlignment(MaybeAlign(Src->getAlignment())); in copyAttributesFrom()
|
D | IRBuilder.cpp | 100 MaybeAlign Align, bool isVolatile, in CreateMemSet() 160 return CreateMemCpy(Dst, MaybeAlign(DstAlign), Src, MaybeAlign(SrcAlign), in CreateMemCpy() 165 CallInst *IRBuilderBase::CreateMemCpy(Value *Dst, MaybeAlign DstAlign, in CreateMemCpy() 166 Value *Src, MaybeAlign SrcAlign, in CreateMemCpy() 244 CallInst *IRBuilderBase::CreateMemMove(Value *Dst, MaybeAlign DstAlign, in CreateMemMove() 245 Value *Src, MaybeAlign SrcAlign, in CreateMemMove()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsTargetMachine.cpp | 125 MaybeAlign(Options.StackAlignmentOverride)), in MipsTargetMachine() 128 MaybeAlign(Options.StackAlignmentOverride)), in MipsTargetMachine() 131 MaybeAlign(Options.StackAlignmentOverride)) { in MipsTargetMachine() 205 MaybeAlign(Options.StackAlignmentOverride)); in getSubtargetImpl()
|
D | MipsSubtarget.h | 203 MaybeAlign StackAlignOverride; 236 const MipsTargetMachine &TM, MaybeAlign StackAlignOverride);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | GISelKnownBits.h | 73 MaybeAlign Alignment); 76 static MaybeAlign inferPtrAlignment(const MachineInstr &MI);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAtomicRMW.cpp | 127 SI->setAlignment(MaybeAlign(DL.getABITypeAlignment(RMWI.getType()))); in visitAtomicRMWInst() 157 Load->setAlignment(MaybeAlign(DL.getABITypeAlignment(RMWI.getType()))); in visitAtomicRMWInst()
|
D | InstCombineLoadStoreAlloca.cpp | 200 New->setAlignment(MaybeAlign(AI.getAlignment())); in simplifyAllocaArraySize() 349 MaybeAlign(DL.getPrefTypeAlignment(AI.getAllocatedType()))); in visitAllocaInst() 381 MaybeAlign(DL.getPrefTypeAlignment(EntryAI->getAllocatedType()))); in visitAllocaInst() 385 const MaybeAlign MaxAlign( in visitAllocaInst() 974 LI.setAlignment(MaybeAlign(KnownAlign)); in visitLoadInst() 976 LI.setAlignment(MaybeAlign(EffectiveLoadAlign)); in visitLoadInst() 1033 const MaybeAlign Alignment(LI.getAlignment()); in visitLoadInst() 1382 const MaybeAlign StoreAlign = MaybeAlign(SI.getAlignment()); in visitStoreInst() 1607 MaybeAlign(SI.getAlignment()), in mergeStoreIntoSuccessor()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetCallingConv.h | 129 MaybeAlign A = decodeMaybeAlign(ByValAlign); in getByValAlign() 138 MaybeAlign A = decodeMaybeAlign(OrigAlign); in getOrigAlign()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 392 MaybeAlign(Range.Alignment), in INITIALIZE_PASS_DEPENDENCY() 417 return DL.getValueOrABITypeAlignment(MaybeAlign(SI->getAlignment()), in findStoreAlignment() 422 return DL.getValueOrABITypeAlignment(MaybeAlign(LI->getAlignment()), in findLoadAlignment() 679 DL.getValueOrABITypeAlignment(MaybeAlign(SI->getAlignment()), T); in processStore() 894 cast<AllocaInst>(cpyDest)->setAlignment(MaybeAlign(srcAlign)); in performCallSlotOptzn() 1052 MemSet->getOperand(1), MemsetLen, MaybeAlign(Align)); in processMemSetMemCpyDependence() 1121 MaybeAlign(MemCpy->getDestAlignment())); in performMemCpyToMemSetOptzn() 1148 MaybeAlign(M->getDestAlignment()), false); in processMemCpy()
|
D | SROA.cpp | 1203 MaybeAlign MaxAlign; in isSafePHIToSpeculate() 1225 MaxAlign = std::max(MaxAlign, MaybeAlign(LI->getAlignment())); in isSafePHIToSpeculate() 1276 const MaybeAlign Align = MaybeAlign(SomeLoad->getAlignment()); in speculatePHINodeLoads() 1345 MaybeAlign(LI->getAlignment()), DL, LI)) in isSafeSelectToSpeculate() 1348 MaybeAlign(LI->getAlignment()), DL, LI)) in isSafeSelectToSpeculate() 1374 TL->setAlignment(MaybeAlign(LI->getAlignment())); in speculateSelectInstLoads() 1375 FL->setAlignment(MaybeAlign(LI->getAlignment())); in speculateSelectInstLoads() 1686 MaybeAlign Alignment; in getAdjustedAlignment() 1689 Alignment = MaybeAlign(LI->getAlignment()); in getAdjustedAlignment() 1692 Alignment = MaybeAlign(SI->getAlignment()); in getAdjustedAlignment() [all …]
|