/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZSelectionDAGInfo.cpp | 25 static SDValue emitMemMem(SelectionDAG &DAG, const SDLoc &DL, unsigned Sequence, in emitMemMem() argument 41 return DAG.getNode(Loop, DL, MVT::Other, Chain, Dst, Src, in emitMemMem() 42 DAG.getConstant(Size, DL, PtrVT), in emitMemMem() 43 DAG.getConstant(Size / 256, DL, PtrVT)); in emitMemMem() 44 return DAG.getNode(Sequence, DL, MVT::Other, Chain, Dst, Src, in emitMemMem() 45 DAG.getConstant(Size, DL, PtrVT)); in emitMemMem() 49 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument 56 return emitMemMem(DAG, DL, SystemZISD::MVC, SystemZISD::MVC_LOOP, in EmitTargetCodeForMemcpy() 64 static SDValue memsetStore(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, in memsetStore() argument 71 Chain, DL, DAG.getConstant(StoreVal, DL, MVT::getIntegerVT(Size * 8)), in memsetStore() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZSelectionDAGInfo.cpp | 26 static SDValue emitMemMem(SelectionDAG &DAG, const SDLoc &DL, unsigned Sequence, in emitMemMem() argument 42 return DAG.getNode(Loop, DL, MVT::Other, Chain, Dst, Src, in emitMemMem() 43 DAG.getConstant(Size, DL, PtrVT), in emitMemMem() 44 DAG.getConstant(Size / 256, DL, PtrVT)); in emitMemMem() 45 return DAG.getNode(Sequence, DL, MVT::Other, Chain, Dst, Src, in emitMemMem() 46 DAG.getConstant(Size, DL, PtrVT)); in emitMemMem() 50 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument 57 return emitMemMem(DAG, DL, SystemZISD::MVC, SystemZISD::MVC_LOOP, in EmitTargetCodeForMemcpy() 65 static SDValue memsetStore(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, in memsetStore() argument 71 return DAG.getStore(Chain, DL, in memsetStore() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZSelectionDAGInfo.cpp | 25 static SDValue emitMemMem(SelectionDAG &DAG, const SDLoc &DL, unsigned Sequence, in emitMemMem() argument 41 return DAG.getNode(Loop, DL, MVT::Other, Chain, Dst, Src, in emitMemMem() 42 DAG.getConstant(Size, DL, PtrVT), in emitMemMem() 43 DAG.getConstant(Size / 256, DL, PtrVT)); in emitMemMem() 44 return DAG.getNode(Sequence, DL, MVT::Other, Chain, Dst, Src, in emitMemMem() 45 DAG.getConstant(Size, DL, PtrVT)); in emitMemMem() 49 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy() argument 56 return emitMemMem(DAG, DL, SystemZISD::MVC, SystemZISD::MVC_LOOP, in EmitTargetCodeForMemcpy() 64 static SDValue memsetStore(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, in memsetStore() argument 71 Chain, DL, DAG.getConstant(StoreVal, DL, MVT::getIntegerVT(Size * 8)), in memsetStore() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | VNCoercion.cpp | 18 const DataLayout &DL) { in canCoerceMustAliasedValueToLoad() argument 30 uint64_t StoreSize = DL.getTypeSizeInBits(StoredTy).getFixedSize(); in canCoerceMustAliasedValueToLoad() 37 if (StoreSize < DL.getTypeSizeInBits(LoadTy).getFixedSize()) in canCoerceMustAliasedValueToLoad() 40 bool StoredNI = DL.isNonIntegralPointerType(StoredTy->getScalarType()); in canCoerceMustAliasedValueToLoad() 41 bool LoadNI = DL.isNonIntegralPointerType(LoadTy->getScalarType()); in canCoerceMustAliasedValueToLoad() 60 if (StoredNI && StoreSize != DL.getTypeSizeInBits(LoadTy).getFixedSize()) in canCoerceMustAliasedValueToLoad() 69 const DataLayout &DL) { in coerceAvailableValueToLoadTypeHelper() argument 70 assert(canCoerceMustAliasedValueToLoad(StoredVal, LoadedTy, DL) && in coerceAvailableValueToLoadTypeHelper() 73 StoredVal = ConstantFoldConstant(C, DL); in coerceAvailableValueToLoadTypeHelper() 78 uint64_t StoredValSize = DL.getTypeSizeInBits(StoredValTy).getFixedSize(); in coerceAvailableValueToLoadTypeHelper() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | VNCoercion.cpp | 16 const DataLayout &DL) { in canCoerceMustAliasedValueToLoad() argument 27 uint64_t StoreSize = DL.getTypeSizeInBits(StoredTy); in canCoerceMustAliasedValueToLoad() 34 if (StoreSize < DL.getTypeSizeInBits(LoadTy)) in canCoerceMustAliasedValueToLoad() 38 if (DL.isNonIntegralPointerType(StoredVal->getType()->getScalarType()) != in canCoerceMustAliasedValueToLoad() 39 DL.isNonIntegralPointerType(LoadTy->getScalarType())) { in canCoerceMustAliasedValueToLoad() 54 const DataLayout &DL) { in coerceAvailableValueToLoadTypeHelper() argument 55 assert(canCoerceMustAliasedValueToLoad(StoredVal, LoadedTy, DL) && in coerceAvailableValueToLoadTypeHelper() 58 if (auto *FoldedStoredVal = ConstantFoldConstant(C, DL)) in coerceAvailableValueToLoadTypeHelper() 64 uint64_t StoredValSize = DL.getTypeSizeInBits(StoredValTy); in coerceAvailableValueToLoadTypeHelper() 65 uint64_t LoadedValSize = DL.getTypeSizeInBits(LoadedTy); in coerceAvailableValueToLoadTypeHelper() [all …]
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | idot8s.ll | 5 … llc -mtriple=amdgcn -mcpu=gfx906 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX9-DL %s 6 …lc -mtriple=amdgcn -mcpu=gfx1011 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX10-DL %s 7 …lc -mtriple=amdgcn -mcpu=gfx1012 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX10-DL %s 8 …lc -mtriple=amdgcn -mcpu=gfx1030 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX10-DL %s 9 …lc -mtriple=amdgcn -mcpu=gfx1031 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX10-DL %s 170 ; GFX9-DL-LABEL: idot8_acc32: 171 ; GFX9-DL: ; %bb.0: ; %entry 172 ; GFX9-DL-NEXT: s_load_dwordx4 s[4:7], s[0:1], 0x24 173 ; GFX9-DL-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x34 174 ; GFX9-DL-NEXT: s_mov_b32 s8, SCRATCH_RSRC_DWORD0 [all …]
|
D | idot2.ll | 5 …llc -mtriple=amdgcn -mcpu=gfx906 -verify-machineinstrs < %s | FileCheck --check-prefixes=GFX9-DL %s 6 …c -mtriple=amdgcn -mcpu=gfx1011 -verify-machineinstrs < %s | FileCheck --check-prefixes=GFX10-DL %s 7 …c -mtriple=amdgcn -mcpu=gfx1012 -verify-machineinstrs < %s | FileCheck --check-prefixes=GFX10-DL %s 85 ; GFX9-DL-LABEL: udot2: 86 ; GFX9-DL: ; %bb.0: ; %entry 87 ; GFX9-DL-NEXT: s_load_dwordx4 s[4:7], s[0:1], 0x24 88 ; GFX9-DL-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x34 89 ; GFX9-DL-NEXT: v_mov_b32_e32 v0, 0 90 ; GFX9-DL-NEXT: s_waitcnt lgkmcnt(0) 91 ; GFX9-DL-NEXT: s_load_dword s2, s[4:5], 0x0 [all …]
|
D | idot8u.ll | 5 … llc -mtriple=amdgcn -mcpu=gfx906 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX9-DL %s 6 …lc -mtriple=amdgcn -mcpu=gfx1011 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX10-DL %s 7 …lc -mtriple=amdgcn -mcpu=gfx1012 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX10-DL %s 168 ; GFX9-DL-LABEL: udot8_acc32: 169 ; GFX9-DL: ; %bb.0: ; %entry 170 ; GFX9-DL-NEXT: s_load_dwordx4 s[4:7], s[0:1], 0x24 171 ; GFX9-DL-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x34 172 ; GFX9-DL-NEXT: s_mov_b32 s8, SCRATCH_RSRC_DWORD0 173 ; GFX9-DL-NEXT: s_mov_b32 s9, SCRATCH_RSRC_DWORD1 174 ; GFX9-DL-NEXT: s_mov_b32 s10, -1 [all …]
|
D | idot4u.ll | 5 … llc -mtriple=amdgcn -mcpu=gfx906 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX9-DL %s 6 …lc -mtriple=amdgcn -mcpu=gfx1011 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX10-DL %s 7 …lc -mtriple=amdgcn -mcpu=gfx1012 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX10-DL %s 105 ; GFX9-DL-LABEL: udot4_acc32: 106 ; GFX9-DL: ; %bb.0: ; %entry 107 ; GFX9-DL-NEXT: s_load_dwordx4 s[4:7], s[0:1], 0x24 108 ; GFX9-DL-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x34 109 ; GFX9-DL-NEXT: v_mov_b32_e32 v0, 0 110 ; GFX9-DL-NEXT: s_waitcnt lgkmcnt(0) 111 ; GFX9-DL-NEXT: s_load_dword s2, s[6:7], 0x0 [all …]
|
D | idot4s.ll | 5 … llc -mtriple=amdgcn -mcpu=gfx906 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX9-DL %s 6 …lc -mtriple=amdgcn -mcpu=gfx1011 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX10-DL %s 7 …lc -mtriple=amdgcn -mcpu=gfx1012 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX10-DL %s 102 ; GFX9-DL-LABEL: idot4_acc32: 103 ; GFX9-DL: ; %bb.0: ; %entry 104 ; GFX9-DL-NEXT: s_load_dwordx4 s[4:7], s[0:1], 0x24 105 ; GFX9-DL-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x34 106 ; GFX9-DL-NEXT: v_mov_b32_e32 v0, 0 107 ; GFX9-DL-NEXT: s_waitcnt lgkmcnt(0) 108 ; GFX9-DL-NEXT: s_load_dword s2, s[6:7], 0x0 [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | Loads.cpp | 33 const DataLayout &DL) { in isAligned() argument 34 Align BA = Base->getPointerAlignment(DL); in isAligned() 43 const Value *V, Align Alignment, const APInt &Size, const DataLayout &DL, in isDereferenceableAndAlignedPointer() argument 63 BC->getOperand(0), Alignment, Size, DL, CtxI, DT, Visited, MaxDepth); in isDereferenceableAndAlignedPointer() 68 V->getPointerDereferenceableBytes(DL, CheckForNonNull)); in isDereferenceableAndAlignedPointer() 70 if (!CheckForNonNull || isKnownNonZero(V, DL, 0, nullptr, CtxI, DT)) { in isDereferenceableAndAlignedPointer() 76 APInt Offset(DL.getTypeStoreSizeInBits(Ty), 0); in isDereferenceableAndAlignedPointer() 77 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer() 84 APInt Offset(DL.getIndexTypeSizeInBits(GEP->getType()), 0); in isDereferenceableAndAlignedPointer() 85 if (!GEP->accumulateConstantOffset(DL, Offset) || Offset.isNegative() || in isDereferenceableAndAlignedPointer() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | Loads.cpp | 30 static MaybeAlign getBaseAlign(const Value *Base, const DataLayout &DL) { in getBaseAlign() argument 31 if (const MaybeAlign PA = Base->getPointerAlignment(DL)) in getBaseAlign() 36 return Align(DL.getABITypeAlignment(Ty)); in getBaseAlign() 40 const DataLayout &DL) { in isAligned() argument 41 if (MaybeAlign BA = getBaseAlign(Base, DL)) { in isAligned() 53 const Value *V, Align Alignment, const APInt &Size, const DataLayout &DL, in isDereferenceableAndAlignedPointer() argument 66 Size, DL, CtxI, DT, Visited); in isDereferenceableAndAlignedPointer() 70 V->getPointerDereferenceableBytes(DL, CheckForNonNull)); in isDereferenceableAndAlignedPointer() 72 if (!CheckForNonNull || isKnownNonZero(V, DL, 0, nullptr, CtxI, DT)) { in isDereferenceableAndAlignedPointer() 78 APInt Offset(DL.getTypeStoreSizeInBits(Ty), 0); in isDereferenceableAndAlignedPointer() [all …]
|
/external/llvm/lib/Analysis/ |
D | Loads.cpp | 29 const DataLayout &DL) { in isAligned() argument 30 APInt BaseAlign(Offset.getBitWidth(), Base->getPointerAlignment(DL)); in isAligned() 36 BaseAlign = DL.getABITypeAlignment(Ty); in isAligned() 45 static bool isAligned(const Value *Base, unsigned Align, const DataLayout &DL) { in isAligned() argument 48 APInt Offset(DL.getTypeStoreSizeInBits(Ty), 0); in isAligned() 49 return isAligned(Base, Offset, Align, DL); in isAligned() 55 const Value *V, unsigned Align, const APInt &Size, const DataLayout &DL, in isDereferenceableAndAlignedPointer() argument 64 DL, CtxI, DT, Visited); in isDereferenceableAndAlignedPointer() 68 V->getPointerDereferenceableBytes(DL, CheckForNonNull)); in isDereferenceableAndAlignedPointer() 72 return isAligned(V, Align, DL); in isDereferenceableAndAlignedPointer() [all …]
|
/external/llvm/lib/IR/ |
D | Mangler.cpp | 34 const DataLayout &DL, char Prefix) { in getNameWithPrefixImpl() argument 47 OS << DL.getPrivateGlobalPrefix(); in getNameWithPrefixImpl() 49 OS << DL.getLinkerPrivateGlobalPrefix(); in getNameWithPrefixImpl() 59 const DataLayout &DL, in getNameWithPrefixImpl() argument 61 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefixImpl() 62 return getNameWithPrefixImpl(OS, GVName, PrefixTy, DL, Prefix); in getNameWithPrefixImpl() 66 const DataLayout &DL) { in getNameWithPrefix() argument 67 return getNameWithPrefixImpl(OS, GVName, DL, Default); in getNameWithPrefix() 71 const Twine &GVName, const DataLayout &DL) { in getNameWithPrefix() argument 73 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600ISelLowering.cpp | 508 SDLoc DL(Op); in LowerOperation() local 514 DAG.getConstant(0, DL, MVT::i32), // SWZ_X in LowerOperation() 515 DAG.getConstant(1, DL, MVT::i32), // SWZ_Y in LowerOperation() 516 DAG.getConstant(2, DL, MVT::i32), // SWZ_Z in LowerOperation() 517 DAG.getConstant(3, DL, MVT::i32) // SWZ_W in LowerOperation() 519 return DAG.getNode(AMDGPUISD::R600_EXPORT, DL, Op.getValueType(), Args); in LowerOperation() 532 SDLoc DL(Op); in LowerOperation() local 549 DAG.getConstant(TextureOp, DL, MVT::i32), in LowerOperation() 551 DAG.getConstant(0, DL, MVT::i32), in LowerOperation() 552 DAG.getConstant(1, DL, MVT::i32), in LowerOperation() [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | R600ISelLowering.cpp | 508 SDLoc DL(Op); in LowerOperation() local 514 DAG.getConstant(0, DL, MVT::i32), // SWZ_X in LowerOperation() 515 DAG.getConstant(1, DL, MVT::i32), // SWZ_Y in LowerOperation() 516 DAG.getConstant(2, DL, MVT::i32), // SWZ_Z in LowerOperation() 517 DAG.getConstant(3, DL, MVT::i32) // SWZ_W in LowerOperation() 519 return DAG.getNode(AMDGPUISD::R600_EXPORT, DL, Op.getValueType(), Args); in LowerOperation() 532 SDLoc DL(Op); in LowerOperation() local 549 DAG.getConstant(TextureOp, DL, MVT::i32), in LowerOperation() 551 DAG.getConstant(0, DL, MVT::i32), in LowerOperation() 552 DAG.getConstant(1, DL, MVT::i32), in LowerOperation() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Mangler.cpp | 34 const DataLayout &DL, char Prefix) { in getNameWithPrefixImpl() argument 46 if (DL.doNotMangleLeadingQuestionMark() && Name[0] == '?') in getNameWithPrefixImpl() 50 OS << DL.getPrivateGlobalPrefix(); in getNameWithPrefixImpl() 52 OS << DL.getLinkerPrivateGlobalPrefix(); in getNameWithPrefixImpl() 62 const DataLayout &DL, in getNameWithPrefixImpl() argument 64 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefixImpl() 65 return getNameWithPrefixImpl(OS, GVName, PrefixTy, DL, Prefix); in getNameWithPrefixImpl() 69 const DataLayout &DL) { in getNameWithPrefix() argument 70 return getNameWithPrefixImpl(OS, GVName, DL, Default); in getNameWithPrefix() 74 const Twine &GVName, const DataLayout &DL) { in getNameWithPrefix() argument [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | Mangler.cpp | 34 const DataLayout &DL, char Prefix) { in getNameWithPrefixImpl() argument 46 if (DL.doNotMangleLeadingQuestionMark() && Name[0] == '?') in getNameWithPrefixImpl() 50 OS << DL.getPrivateGlobalPrefix(); in getNameWithPrefixImpl() 52 OS << DL.getLinkerPrivateGlobalPrefix(); in getNameWithPrefixImpl() 62 const DataLayout &DL, in getNameWithPrefixImpl() argument 64 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefixImpl() 65 return getNameWithPrefixImpl(OS, GVName, PrefixTy, DL, Prefix); in getNameWithPrefixImpl() 69 const DataLayout &DL) { in getNameWithPrefix() argument 70 return getNameWithPrefixImpl(OS, GVName, DL, Default); in getNameWithPrefix() 74 const Twine &GVName, const DataLayout &DL) { in getNameWithPrefix() argument [all …]
|
/external/llvm-project/llvm/lib/Target/VE/ |
D | VEISelLowering.cpp | 275 const SDLoc &DL, SelectionDAG &DAG) const { in LowerReturn() argument 300 OutVal = DAG.getNode(ISD::SIGN_EXTEND, DL, VA.getLocVT(), OutVal); in LowerReturn() 303 OutVal = DAG.getNode(ISD::ZERO_EXTEND, DL, VA.getLocVT(), OutVal); in LowerReturn() 306 OutVal = DAG.getNode(ISD::ANY_EXTEND, DL, VA.getLocVT(), OutVal); in LowerReturn() 317 DAG.getMachineNode(TargetOpcode::IMPLICIT_DEF, DL, MVT::i64), 0); in LowerReturn() 318 SDValue Sub_f32 = DAG.getTargetConstant(VE::sub_f32, DL, MVT::i32); in LowerReturn() 319 OutVal = SDValue(DAG.getMachineNode(TargetOpcode::INSERT_SUBREG, DL, in LowerReturn() 330 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), OutVal, Flag); in LowerReturn() 343 return DAG.getNode(VEISD::RET_FLAG, DL, MVT::Other, RetOps); in LowerReturn() 348 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &DL, in LowerFormalArguments() argument [all …]
|
/external/llvm-project/llvm/bindings/ocaml/target/ |
D | target_ocaml.c | 69 CAMLprim value llvm_datalayout_byte_order(value DL) { in llvm_datalayout_byte_order() argument 70 return Val_int(LLVMByteOrder(DataLayout_val(DL))); in llvm_datalayout_byte_order() 74 CAMLprim value llvm_datalayout_pointer_size(value DL) { in llvm_datalayout_pointer_size() argument 75 return Val_int(LLVMPointerSize(DataLayout_val(DL))); in llvm_datalayout_pointer_size() 79 CAMLprim LLVMTypeRef llvm_datalayout_intptr_type(LLVMContextRef C, value DL) { in llvm_datalayout_intptr_type() argument 80 return LLVMIntPtrTypeInContext(C, DataLayout_val(DL)); in llvm_datalayout_intptr_type() 84 CAMLprim value llvm_datalayout_qualified_pointer_size(value AS, value DL) { in llvm_datalayout_qualified_pointer_size() argument 85 return Val_int(LLVMPointerSizeForAS(DataLayout_val(DL), Int_val(AS))); in llvm_datalayout_qualified_pointer_size() 91 value DL) { in llvm_datalayout_qualified_intptr_type() argument 92 return LLVMIntPtrTypeForASInContext(C, DataLayout_val(DL), Int_val(AS)); in llvm_datalayout_qualified_intptr_type() [all …]
|
/external/llvm/bindings/ocaml/target/ |
D | target_ocaml.c | 69 CAMLprim value llvm_datalayout_byte_order(value DL) { in llvm_datalayout_byte_order() argument 70 return Val_int(LLVMByteOrder(DataLayout_val(DL))); in llvm_datalayout_byte_order() 74 CAMLprim value llvm_datalayout_pointer_size(value DL) { in llvm_datalayout_pointer_size() argument 75 return Val_int(LLVMPointerSize(DataLayout_val(DL))); in llvm_datalayout_pointer_size() 79 CAMLprim LLVMTypeRef llvm_datalayout_intptr_type(LLVMContextRef C, value DL) { in llvm_datalayout_intptr_type() argument 80 return LLVMIntPtrTypeInContext(C, DataLayout_val(DL));; in llvm_datalayout_intptr_type() 84 CAMLprim value llvm_datalayout_qualified_pointer_size(value AS, value DL) { in llvm_datalayout_qualified_pointer_size() argument 85 return Val_int(LLVMPointerSizeForAS(DataLayout_val(DL), Int_val(AS))); in llvm_datalayout_qualified_pointer_size() 91 value DL) { in llvm_datalayout_qualified_intptr_type() argument 92 return LLVMIntPtrTypeForASInContext(C, DataLayout_val(DL), Int_val(AS)); in llvm_datalayout_qualified_intptr_type() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600ISelLowering.cpp | 645 SDLoc DL(Op); in LowerOperation() local 651 DAG.getConstant(0, DL, MVT::i32), // SWZ_X in LowerOperation() 652 DAG.getConstant(1, DL, MVT::i32), // SWZ_Y in LowerOperation() 653 DAG.getConstant(2, DL, MVT::i32), // SWZ_Z in LowerOperation() 654 DAG.getConstant(3, DL, MVT::i32) // SWZ_W in LowerOperation() 656 return DAG.getNode(AMDGPUISD::EXPORT, DL, Op.getValueType(), Args); in LowerOperation() 669 SDLoc DL(Op); in LowerOperation() local 719 DAG.getConstant(TextureOp, DL, MVT::i32), in LowerOperation() 721 DAG.getConstant(0, DL, MVT::i32), in LowerOperation() 722 DAG.getConstant(1, DL, MVT::i32), in LowerOperation() [all …]
|
/external/llvm-project/llvm/unittests/IR/ |
D | ManglerTest.cpp | 19 const DataLayout &DL) { in mangleStr() argument 22 Mang.getNameWithPrefix(SS, IRName, DL); in mangleStr() 49 DataLayout DL("m:o"); // macho in TEST() local 51 Mod.setDataLayout(DL); in TEST() 53 EXPECT_EQ(mangleStr("foo", Mang, DL), "_foo"); in TEST() 54 EXPECT_EQ(mangleStr("\01foo", Mang, DL), "foo"); in TEST() 55 EXPECT_EQ(mangleStr("?foo", Mang, DL), "_?foo"); in TEST() 69 DataLayout DL("m:x-p:32:32"); // 32-bit windows in TEST() local 71 Mod.setDataLayout(DL); in TEST() 73 EXPECT_EQ(mangleStr("foo", Mang, DL), "_foo"); in TEST() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | InstructionSimplify.h | 52 const DataLayout &DL, 61 const DataLayout &DL, 70 const DataLayout &DL, 79 const DataLayout &DL, 88 const DataLayout &DL, 96 Value *SimplifyMulInst(Value *LHS, Value *RHS, const DataLayout &DL, 104 Value *SimplifySDivInst(Value *LHS, Value *RHS, const DataLayout &DL, 112 Value *SimplifyUDivInst(Value *LHS, Value *RHS, const DataLayout &DL, 121 const DataLayout &DL, 129 Value *SimplifySRemInst(Value *LHS, Value *RHS, const DataLayout &DL, [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyISelLowering.cpp | 218 bool WebAssemblyTargetLowering::isLegalAddressingMode(const DataLayout &DL, in isLegalAddressingMode() argument 260 static void fail(const SDLoc &DL, SelectionDAG &DAG, const char *msg) { in fail() argument 263 DiagnosticInfoUnsupported(*MF.getFunction(), msg, DL.getDebugLoc())); in fail() 282 SDLoc DL = CLI.DL; in LowerCall() local 290 fail(DL, DAG, in LowerCall() 294 fail(DL, DAG, "WebAssembly doesn't support patch point yet"); in LowerCall() 301 fail(DL, DAG, "WebAssembly doesn't support tail call yet"); in LowerCall() 306 fail(DL, DAG, "WebAssembly doesn't support more than 1 returned value yet"); in LowerCall() 314 fail(DL, DAG, "WebAssembly hasn't implemented nest arguments"); in LowerCall() 316 fail(DL, DAG, "WebAssembly hasn't implemented inalloca arguments"); in LowerCall() [all …]
|