/external/llvm/test/Analysis/CostModel/AMDGPU/ |
D | add-sub.ll | 6 define void @add_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 7 %vec = load i32, i32 addrspace(1)* %vaddr 15 define void @add_v2i32(<2 x i32> addrspace(1)* %out, <2 x i32> addrspace(1)* %vaddr, <2 x i32> %b) … 16 %vec = load <2 x i32>, <2 x i32> addrspace(1)* %vaddr 24 define void @add_v3i32(<3 x i32> addrspace(1)* %out, <3 x i32> addrspace(1)* %vaddr, <3 x i32> %b) … 25 %vec = load <3 x i32>, <3 x i32> addrspace(1)* %vaddr 33 define void @add_v4i32(<4 x i32> addrspace(1)* %out, <4 x i32> addrspace(1)* %vaddr, <4 x i32> %b) … 34 %vec = load <4 x i32>, <4 x i32> addrspace(1)* %vaddr 42 define void @add_i64(i64 addrspace(1)* %out, i64 addrspace(1)* %vaddr, i64 %b) #0 { 43 %vec = load i64, i64 addrspace(1)* %vaddr [all …]
|
D | extractelement.ll | 5 define void @extractelement_v2i32(i32 addrspace(1)* %out, <2 x i32> addrspace(1)* %vaddr) { 6 %vec = load <2 x i32>, <2 x i32> addrspace(1)* %vaddr 14 define void @extractelement_v2f32(float addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr) { 15 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 23 define void @extractelement_v3i32(i32 addrspace(1)* %out, <3 x i32> addrspace(1)* %vaddr) { 24 %vec = load <3 x i32>, <3 x i32> addrspace(1)* %vaddr 32 define void @extractelement_v4i32(i32 addrspace(1)* %out, <4 x i32> addrspace(1)* %vaddr) { 33 %vec = load <4 x i32>, <4 x i32> addrspace(1)* %vaddr 41 define void @extractelement_v8i32(i32 addrspace(1)* %out, <8 x i32> addrspace(1)* %vaddr) { 42 %vec = load <8 x i32>, <8 x i32> addrspace(1)* %vaddr [all …]
|
D | mul.ll | 5 define void @mul_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 6 %vec = load i32, i32 addrspace(1)* %vaddr 14 define void @mul_v2i32(<2 x i32> addrspace(1)* %out, <2 x i32> addrspace(1)* %vaddr, <2 x i32> %b) … 15 %vec = load <2 x i32>, <2 x i32> addrspace(1)* %vaddr 23 define void @mul_v3i32(<3 x i32> addrspace(1)* %out, <3 x i32> addrspace(1)* %vaddr, <3 x i32> %b) … 24 %vec = load <3 x i32>, <3 x i32> addrspace(1)* %vaddr 32 define void @mul_v4i32(<4 x i32> addrspace(1)* %out, <4 x i32> addrspace(1)* %vaddr, <4 x i32> %b) … 33 %vec = load <4 x i32>, <4 x i32> addrspace(1)* %vaddr 41 define void @mul_i64(i64 addrspace(1)* %out, i64 addrspace(1)* %vaddr, i64 %b) #0 { 42 %vec = load i64, i64 addrspace(1)* %vaddr [all …]
|
D | fmul.ll | 6 define void @fmul_f32(float addrspace(1)* %out, float addrspace(1)* %vaddr, float %b) #0 { 7 %vec = load float, float addrspace(1)* %vaddr 15 define void @fmul_v2f32(<2 x float> addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr, <2 x floa… 16 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 24 define void @fmul_v3f32(<3 x float> addrspace(1)* %out, <3 x float> addrspace(1)* %vaddr, <3 x floa… 25 %vec = load <3 x float>, <3 x float> addrspace(1)* %vaddr 34 define void @fmul_f64(double addrspace(1)* %out, double addrspace(1)* %vaddr, double %b) #0 { 35 %vec = load double, double addrspace(1)* %vaddr 44 define void @fmul_v2f64(<2 x double> addrspace(1)* %out, <2 x double> addrspace(1)* %vaddr, <2 x do… 45 %vec = load <2 x double>, <2 x double> addrspace(1)* %vaddr [all …]
|
D | fadd.ll | 6 define void @fadd_f32(float addrspace(1)* %out, float addrspace(1)* %vaddr, float %b) #0 { 7 %vec = load float, float addrspace(1)* %vaddr 15 define void @fadd_v2f32(<2 x float> addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr, <2 x floa… 16 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 24 define void @fadd_v3f32(<3 x float> addrspace(1)* %out, <3 x float> addrspace(1)* %vaddr, <3 x floa… 25 %vec = load <3 x float>, <3 x float> addrspace(1)* %vaddr 34 define void @fadd_f64(double addrspace(1)* %out, double addrspace(1)* %vaddr, double %b) #0 { 35 %vec = load double, double addrspace(1)* %vaddr 44 define void @fadd_v2f64(<2 x double> addrspace(1)* %out, <2 x double> addrspace(1)* %vaddr, <2 x do… 45 %vec = load <2 x double>, <2 x double> addrspace(1)* %vaddr [all …]
|
D | fsub.ll | 6 define void @fsub_f32(float addrspace(1)* %out, float addrspace(1)* %vaddr, float %b) #0 { 7 %vec = load float, float addrspace(1)* %vaddr 15 define void @fsub_v2f32(<2 x float> addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr, <2 x floa… 16 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 24 define void @fsub_v3f32(<3 x float> addrspace(1)* %out, <3 x float> addrspace(1)* %vaddr, <3 x floa… 25 %vec = load <3 x float>, <3 x float> addrspace(1)* %vaddr 34 define void @fsub_f64(double addrspace(1)* %out, double addrspace(1)* %vaddr, double %b) #0 { 35 %vec = load double, double addrspace(1)* %vaddr 44 define void @fsub_v2f64(<2 x double> addrspace(1)* %out, <2 x double> addrspace(1)* %vaddr, <2 x do… 45 %vec = load <2 x double>, <2 x double> addrspace(1)* %vaddr [all …]
|
D | fabs.ll | 5 define void @fabs_f32(float addrspace(1)* %out, float addrspace(1)* %vaddr) #0 { 6 %vec = load float, float addrspace(1)* %vaddr 14 define void @fabs_v2f32(<2 x float> addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr) #0 { 15 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 23 define void @fabs_v3f32(<3 x float> addrspace(1)* %out, <3 x float> addrspace(1)* %vaddr) #0 { 24 %vec = load <3 x float>, <3 x float> addrspace(1)* %vaddr 32 define void @fabs_f64(double addrspace(1)* %out, double addrspace(1)* %vaddr) #0 { 33 %vec = load double, double addrspace(1)* %vaddr 41 define void @fabs_v2f64(<2 x double> addrspace(1)* %out, <2 x double> addrspace(1)* %vaddr) #0 { 42 %vec = load <2 x double>, <2 x double> addrspace(1)* %vaddr [all …]
|
D | bit-ops.ll | 5 define void @or_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 6 %vec = load i32, i32 addrspace(1)* %vaddr 14 define void @or_i64(i64 addrspace(1)* %out, i64 addrspace(1)* %vaddr, i64 %b) #0 { 15 %vec = load i64, i64 addrspace(1)* %vaddr 23 define void @xor_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 24 %vec = load i32, i32 addrspace(1)* %vaddr 32 define void @xor_i64(i64 addrspace(1)* %out, i64 addrspace(1)* %vaddr, i64 %b) #0 { 33 %vec = load i64, i64 addrspace(1)* %vaddr 42 define void @and_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 43 %vec = load i32, i32 addrspace(1)* %vaddr [all …]
|
D | fdiv.ll | 8 define void @fdiv_f32(float addrspace(1)* %out, float addrspace(1)* %vaddr, float %b) #0 { 9 %vec = load float, float addrspace(1)* %vaddr 17 define void @fdiv_v2f32(<2 x float> addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr, <2 x floa… 18 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 26 define void @fdiv_v3f32(<3 x float> addrspace(1)* %out, <3 x float> addrspace(1)* %vaddr, <3 x floa… 27 %vec = load <3 x float>, <3 x float> addrspace(1)* %vaddr 38 define void @fdiv_f64(double addrspace(1)* %out, double addrspace(1)* %vaddr, double %b) #0 { 39 %vec = load double, double addrspace(1)* %vaddr 50 define void @fdiv_v2f64(<2 x double> addrspace(1)* %out, <2 x double> addrspace(1)* %vaddr, <2 x do… 51 %vec = load <2 x double>, <2 x double> addrspace(1)* %vaddr [all …]
|
D | shifts.ll | 6 define void @shl_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 7 %vec = load i32, i32 addrspace(1)* %vaddr 16 define void @shl_i64(i64 addrspace(1)* %out, i64 addrspace(1)* %vaddr, i64 %b) #0 { 17 %vec = load i64, i64 addrspace(1)* %vaddr 25 define void @lshr_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 26 %vec = load i32, i32 addrspace(1)* %vaddr 35 define void @lshr_i64(i64 addrspace(1)* %out, i64 addrspace(1)* %vaddr, i64 %b) #0 { 36 %vec = load i64, i64 addrspace(1)* %vaddr 44 define void @ashr_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 45 %vec = load i32, i32 addrspace(1)* %vaddr [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/AMDGPU/ |
D | add-sub.ll | 6 define amdgpu_kernel void @add_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 7 %vec = load i32, i32 addrspace(1)* %vaddr 15 define amdgpu_kernel void @add_v2i32(<2 x i32> addrspace(1)* %out, <2 x i32> addrspace(1)* %vaddr, … 16 %vec = load <2 x i32>, <2 x i32> addrspace(1)* %vaddr 24 define amdgpu_kernel void @add_v3i32(<3 x i32> addrspace(1)* %out, <3 x i32> addrspace(1)* %vaddr, … 25 %vec = load <3 x i32>, <3 x i32> addrspace(1)* %vaddr 33 define amdgpu_kernel void @add_v4i32(<4 x i32> addrspace(1)* %out, <4 x i32> addrspace(1)* %vaddr, … 34 %vec = load <4 x i32>, <4 x i32> addrspace(1)* %vaddr 42 define amdgpu_kernel void @add_i64(i64 addrspace(1)* %out, i64 addrspace(1)* %vaddr, i64 %b) #0 { 43 %vec = load i64, i64 addrspace(1)* %vaddr [all …]
|
D | extractelement.ll | 7 … amdgpu_kernel void @extractelement_v2i32(i32 addrspace(1)* %out, <2 x i32> addrspace(1)* %vaddr) { 8 %vec = load <2 x i32>, <2 x i32> addrspace(1)* %vaddr 16 …gpu_kernel void @extractelement_v2f32(float addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr) { 17 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 25 … amdgpu_kernel void @extractelement_v3i32(i32 addrspace(1)* %out, <3 x i32> addrspace(1)* %vaddr) { 26 %vec = load <3 x i32>, <3 x i32> addrspace(1)* %vaddr 34 … amdgpu_kernel void @extractelement_v4i32(i32 addrspace(1)* %out, <4 x i32> addrspace(1)* %vaddr) { 35 %vec = load <4 x i32>, <4 x i32> addrspace(1)* %vaddr 43 … amdgpu_kernel void @extractelement_v8i32(i32 addrspace(1)* %out, <8 x i32> addrspace(1)* %vaddr) { 44 %vec = load <8 x i32>, <8 x i32> addrspace(1)* %vaddr [all …]
|
D | mul.ll | 5 define amdgpu_kernel void @mul_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 6 %vec = load i32, i32 addrspace(1)* %vaddr 14 define amdgpu_kernel void @mul_v2i32(<2 x i32> addrspace(1)* %out, <2 x i32> addrspace(1)* %vaddr, … 15 %vec = load <2 x i32>, <2 x i32> addrspace(1)* %vaddr 23 define amdgpu_kernel void @mul_v3i32(<3 x i32> addrspace(1)* %out, <3 x i32> addrspace(1)* %vaddr, … 24 %vec = load <3 x i32>, <3 x i32> addrspace(1)* %vaddr 32 define amdgpu_kernel void @mul_v4i32(<4 x i32> addrspace(1)* %out, <4 x i32> addrspace(1)* %vaddr, … 33 %vec = load <4 x i32>, <4 x i32> addrspace(1)* %vaddr 41 define amdgpu_kernel void @mul_i64(i64 addrspace(1)* %out, i64 addrspace(1)* %vaddr, i64 %b) #0 { 42 %vec = load i64, i64 addrspace(1)* %vaddr [all …]
|
D | fmul.ll | 6 define amdgpu_kernel void @fmul_f32(float addrspace(1)* %out, float addrspace(1)* %vaddr, float %b)… 7 %vec = load float, float addrspace(1)* %vaddr 15 …id @fmul_v2f32(<2 x float> addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr, <2 x float> %b) #… 16 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 24 …id @fmul_v3f32(<3 x float> addrspace(1)* %out, <3 x float> addrspace(1)* %vaddr, <3 x float> %b) #… 25 %vec = load <3 x float>, <3 x float> addrspace(1)* %vaddr 34 define amdgpu_kernel void @fmul_f64(double addrspace(1)* %out, double addrspace(1)* %vaddr, double … 35 %vec = load double, double addrspace(1)* %vaddr 44 … @fmul_v2f64(<2 x double> addrspace(1)* %out, <2 x double> addrspace(1)* %vaddr, <2 x double> %b) … 45 %vec = load <2 x double>, <2 x double> addrspace(1)* %vaddr [all …]
|
D | fadd.ll | 6 define amdgpu_kernel void @fadd_f32(float addrspace(1)* %out, float addrspace(1)* %vaddr, float %b)… 7 %vec = load float, float addrspace(1)* %vaddr 15 …id @fadd_v2f32(<2 x float> addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr, <2 x float> %b) #… 16 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 24 …id @fadd_v3f32(<3 x float> addrspace(1)* %out, <3 x float> addrspace(1)* %vaddr, <3 x float> %b) #… 25 %vec = load <3 x float>, <3 x float> addrspace(1)* %vaddr 34 define amdgpu_kernel void @fadd_f64(double addrspace(1)* %out, double addrspace(1)* %vaddr, double … 35 %vec = load double, double addrspace(1)* %vaddr 44 … @fadd_v2f64(<2 x double> addrspace(1)* %out, <2 x double> addrspace(1)* %vaddr, <2 x double> %b) … 45 %vec = load <2 x double>, <2 x double> addrspace(1)* %vaddr [all …]
|
D | fsub.ll | 6 define amdgpu_kernel void @fsub_f32(float addrspace(1)* %out, float addrspace(1)* %vaddr, float %b)… 7 %vec = load float, float addrspace(1)* %vaddr 15 …id @fsub_v2f32(<2 x float> addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr, <2 x float> %b) #… 16 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 24 …id @fsub_v3f32(<3 x float> addrspace(1)* %out, <3 x float> addrspace(1)* %vaddr, <3 x float> %b) #… 25 %vec = load <3 x float>, <3 x float> addrspace(1)* %vaddr 34 define amdgpu_kernel void @fsub_f64(double addrspace(1)* %out, double addrspace(1)* %vaddr, double … 35 %vec = load double, double addrspace(1)* %vaddr 44 … @fsub_v2f64(<2 x double> addrspace(1)* %out, <2 x double> addrspace(1)* %vaddr, <2 x double> %b) … 45 %vec = load <2 x double>, <2 x double> addrspace(1)* %vaddr [all …]
|
D | fabs.ll | 5 define amdgpu_kernel void @fabs_f32(float addrspace(1)* %out, float addrspace(1)* %vaddr) #0 { 6 %vec = load float, float addrspace(1)* %vaddr 14 …dgpu_kernel void @fabs_v2f32(<2 x float> addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr) #0 { 15 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 23 …dgpu_kernel void @fabs_v3f32(<3 x float> addrspace(1)* %out, <3 x float> addrspace(1)* %vaddr) #0 { 24 %vec = load <3 x float>, <3 x float> addrspace(1)* %vaddr 32 define amdgpu_kernel void @fabs_f64(double addrspace(1)* %out, double addrspace(1)* %vaddr) #0 { 33 %vec = load double, double addrspace(1)* %vaddr 41 …pu_kernel void @fabs_v2f64(<2 x double> addrspace(1)* %out, <2 x double> addrspace(1)* %vaddr) #0 { 42 %vec = load <2 x double>, <2 x double> addrspace(1)* %vaddr [all …]
|
D | bit-ops.ll | 5 define amdgpu_kernel void @or_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 6 %vec = load i32, i32 addrspace(1)* %vaddr 14 define amdgpu_kernel void @or_i64(i64 addrspace(1)* %out, i64 addrspace(1)* %vaddr, i64 %b) #0 { 15 %vec = load i64, i64 addrspace(1)* %vaddr 23 define amdgpu_kernel void @xor_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 24 %vec = load i32, i32 addrspace(1)* %vaddr 32 define amdgpu_kernel void @xor_i64(i64 addrspace(1)* %out, i64 addrspace(1)* %vaddr, i64 %b) #0 { 33 %vec = load i64, i64 addrspace(1)* %vaddr 42 define amdgpu_kernel void @and_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %vaddr, i32 %b) #0 { 43 %vec = load i32, i32 addrspace(1)* %vaddr [all …]
|
D | fdiv.ll | 11 define amdgpu_kernel void @fdiv_f32(float addrspace(1)* %out, float addrspace(1)* %vaddr, float %b)… 12 %vec = load float, float addrspace(1)* %vaddr 21 …id @fdiv_v2f32(<2 x float> addrspace(1)* %out, <2 x float> addrspace(1)* %vaddr, <2 x float> %b) #… 22 %vec = load <2 x float>, <2 x float> addrspace(1)* %vaddr 31 …id @fdiv_v3f32(<3 x float> addrspace(1)* %out, <3 x float> addrspace(1)* %vaddr, <3 x float> %b) #… 32 %vec = load <3 x float>, <3 x float> addrspace(1)* %vaddr 43 define amdgpu_kernel void @fdiv_f64(double addrspace(1)* %out, double addrspace(1)* %vaddr, double … 44 %vec = load double, double addrspace(1)* %vaddr 55 … @fdiv_v2f64(<2 x double> addrspace(1)* %out, <2 x double> addrspace(1)* %vaddr, <2 x double> %b) … 56 %vec = load <2 x double>, <2 x double> addrspace(1)* %vaddr [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | avx512vl-mov.ll | 9 %vaddr = bitcast i8* %addr to <8 x i32>* 10 %res = load <8 x i32>, <8 x i32>* %vaddr, align 1 19 %vaddr = bitcast i8* %addr to <8 x i32>* 20 %res = load <8 x i32>, <8 x i32>* %vaddr, align 32 29 %vaddr = bitcast i8* %addr to <4 x i64>* 30 store <4 x i64>%data, <4 x i64>* %vaddr, align 32 39 %vaddr = bitcast i8* %addr to <8 x i32>* 40 store <8 x i32>%data, <8 x i32>* %vaddr, align 1 49 %vaddr = bitcast i8* %addr to <8 x i32>* 50 store <8 x i32>%data, <8 x i32>* %vaddr, align 32 [all …]
|
D | avx512bwvl-mov.ll | 9 %vaddr = bitcast i8* %addr to <32 x i8>* 10 %res = load <32 x i8>, <32 x i8>* %vaddr, align 1 19 %vaddr = bitcast i8* %addr to <32 x i8>* 20 store <32 x i8>%data, <32 x i8>* %vaddr, align 1 31 %vaddr = bitcast i8* %addr to <32 x i8>* 32 %r = load <32 x i8>, <32 x i8>* %vaddr, align 1 44 %vaddr = bitcast i8* %addr to <32 x i8>* 45 %r = load <32 x i8>, <32 x i8>* %vaddr, align 1 55 %vaddr = bitcast i8* %addr to <16 x i16>* 56 %res = load <16 x i16>, <16 x i16>* %vaddr, align 1 [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | avx512vl-mov.ll | 9 %vaddr = bitcast i8* %addr to <8 x i32>* 10 %res = load <8 x i32>, <8 x i32>* %vaddr, align 1 19 %vaddr = bitcast i8* %addr to <8 x i32>* 20 %res = load <8 x i32>, <8 x i32>* %vaddr, align 32 29 %vaddr = bitcast i8* %addr to <4 x i64>* 30 store <4 x i64>%data, <4 x i64>* %vaddr, align 32 39 %vaddr = bitcast i8* %addr to <8 x i32>* 40 store <8 x i32>%data, <8 x i32>* %vaddr, align 1 49 %vaddr = bitcast i8* %addr to <8 x i32>* 50 store <8 x i32>%data, <8 x i32>* %vaddr, align 32 [all …]
|
D | avx512bwvl-mov.ll | 9 %vaddr = bitcast i8* %addr to <32 x i8>* 10 %res = load <32 x i8>, <32 x i8>* %vaddr, align 1 19 %vaddr = bitcast i8* %addr to <32 x i8>* 20 store <32 x i8>%data, <32 x i8>* %vaddr, align 1 32 %vaddr = bitcast i8* %addr to <32 x i8>* 33 %r = load <32 x i8>, <32 x i8>* %vaddr, align 1 46 %vaddr = bitcast i8* %addr to <32 x i8>* 47 %r = load <32 x i8>, <32 x i8>* %vaddr, align 1 57 %vaddr = bitcast i8* %addr to <16 x i16>* 58 %res = load <16 x i16>, <16 x i16>* %vaddr, align 1 [all …]
|
/external/u-boot/lib/ |
D | addr_map.c | 12 unsigned long vaddr; member 15 phys_addr_t addrmap_virt_to_phys(void * vaddr) in addrmap_virt_to_phys() argument 25 addr = (u64)((u32)vaddr); in addrmap_virt_to_phys() 26 base = (u64)(address_map[i].vaddr); in addrmap_virt_to_phys() 30 return addr - address_map[i].vaddr + address_map[i].paddr; in addrmap_virt_to_phys() 53 offset = address_map[i].paddr - address_map[i].vaddr; in addrmap_phys_to_virt() 62 void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr, in addrmap_set_entry() argument 68 address_map[idx].vaddr = vaddr; in addrmap_set_entry()
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | mpx-hw.h | 81 static inline unsigned long __vaddr_bounds_table_index(void *vaddr) in __vaddr_bounds_table_index() argument 83 return GET_BITS((unsigned long)vaddr, MPX_BOUNDS_TABLE_BOTTOM_BIT, in __vaddr_bounds_table_index() 87 static inline unsigned long __vaddr_bounds_directory_index(void *vaddr) in __vaddr_bounds_directory_index() argument 89 return GET_BITS((unsigned long)vaddr, MPX_BOUNDS_DIR_BOTTOM_BIT, in __vaddr_bounds_directory_index() 93 static inline struct mpx_bd_entry *mpx_vaddr_to_bd_entry(void *vaddr, in mpx_vaddr_to_bd_entry() argument 96 unsigned long index = __vaddr_bounds_directory_index(vaddr); in mpx_vaddr_to_bd_entry() 116 mpx_vaddr_to_bt_entry(void *vaddr, struct mpx_bounds_dir *bounds_dir) in mpx_vaddr_to_bt_entry() argument 118 struct mpx_bd_entry *bde = mpx_vaddr_to_bd_entry(vaddr, bounds_dir); in mpx_vaddr_to_bt_entry() 120 unsigned long index = __vaddr_bounds_table_index(vaddr); in mpx_vaddr_to_bt_entry()
|