Home
last modified time | relevance | path

Searched refs:SizeIndex (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp733 unsigned SizeIndex = TypeSizeToSizeIndex(TypeSizeInBits); in storeOrigin() local
734 if (AsCall && SizeIndex < kNumberOfAccessSizes) { in storeOrigin()
735 Value *Fn = MS.MaybeStoreOriginFn[SizeIndex]; in storeOrigin()
737 ConvertedShadow, IRB.getIntNTy(8 * (1 << SizeIndex))); in storeOrigin()
805 unsigned SizeIndex = TypeSizeToSizeIndex(TypeSizeInBits); in materializeOneCheck() local
806 if (AsCall && SizeIndex < kNumberOfAccessSizes) { in materializeOneCheck()
807 Value *Fn = MS.MaybeWarningFn[SizeIndex]; in materializeOneCheck()
809 IRB.CreateZExt(ConvertedShadow, IRB.getIntNTy(8 * (1 << SizeIndex))); in materializeOneCheck()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1140 unsigned SizeIndex = TypeSizeToSizeIndex(TypeSizeInBits); in storeOrigin() local
1141 if (AsCall && SizeIndex < kNumberOfAccessSizes && !MS.CompileKernel) { in storeOrigin()
1142 FunctionCallee Fn = MS.MaybeStoreOriginFn[SizeIndex]; in storeOrigin()
1144 ConvertedShadow, IRB.getIntNTy(8 * (1 << SizeIndex))); in storeOrigin()
1222 unsigned SizeIndex = TypeSizeToSizeIndex(TypeSizeInBits); in materializeOneCheck() local
1223 if (AsCall && SizeIndex < kNumberOfAccessSizes && !MS.CompileKernel) { in materializeOneCheck()
1224 FunctionCallee Fn = MS.MaybeWarningFn[SizeIndex]; in materializeOneCheck()
1226 IRB.CreateZExt(ConvertedShadow, IRB.getIntNTy(8 * (1 << SizeIndex))); in materializeOneCheck()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1176 unsigned SizeIndex = TypeSizeToSizeIndex(TypeSizeInBits); in storeOrigin() local
1177 if (AsCall && SizeIndex < kNumberOfAccessSizes && !MS.CompileKernel) { in storeOrigin()
1178 FunctionCallee Fn = MS.MaybeStoreOriginFn[SizeIndex]; in storeOrigin()
1180 IRB.CreateZExt(ConvertedShadow, IRB.getIntNTy(8 * (1 << SizeIndex))); in storeOrigin()
1248 unsigned SizeIndex = TypeSizeToSizeIndex(TypeSizeInBits); in materializeOneCheck() local
1249 if (AsCall && SizeIndex < kNumberOfAccessSizes && !MS.CompileKernel) { in materializeOneCheck()
1250 FunctionCallee Fn = MS.MaybeWarningFn[SizeIndex]; in materializeOneCheck()
1252 IRB.CreateZExt(ConvertedShadow, IRB.getIntNTy(8 * (1 << SizeIndex))); in materializeOneCheck()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp611 unsigned SizeIndex, ObjectIndex; in checkFortifiedBuiltinMemoryFunction() local
666 SizeIndex = TheCall->getNumArgs() - 2; in checkFortifiedBuiltinMemoryFunction()
675 SizeIndex = 1; in checkFortifiedBuiltinMemoryFunction()
692 SizeIndex = TheCall->getNumArgs() - 1; in checkFortifiedBuiltinMemoryFunction()
706 SizeIndex = TheCall->getNumArgs() - 1; in checkFortifiedBuiltinMemoryFunction()
715 SizeIndex = 1; in checkFortifiedBuiltinMemoryFunction()
752 Expr *UsedSizeArg = TheCall->getArg(SizeIndex); in checkFortifiedBuiltinMemoryFunction()
5291 unsigned SizeIndex; in SemaBuiltinAtomicOverloaded() local
5293 case 1: SizeIndex = 0; break; in SemaBuiltinAtomicOverloaded()
5294 case 2: SizeIndex = 1; break; in SemaBuiltinAtomicOverloaded()
[all …]
/external/clang/lib/Sema/
DSemaChecking.cpp2742 unsigned SizeIndex; in SemaBuiltinAtomicOverloaded() local
2744 case 1: SizeIndex = 0; break; in SemaBuiltinAtomicOverloaded()
2745 case 2: SizeIndex = 1; break; in SemaBuiltinAtomicOverloaded()
2746 case 4: SizeIndex = 2; break; in SemaBuiltinAtomicOverloaded()
2747 case 8: SizeIndex = 3; break; in SemaBuiltinAtomicOverloaded()
2748 case 16: SizeIndex = 4; break; in SemaBuiltinAtomicOverloaded()
2941 unsigned NewBuiltinID = BuiltinIndices[BuiltinIndex][SizeIndex]; in SemaBuiltinAtomicOverloaded()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2621 size_t SizeIndex; in SelectMVE_VMLLDAV() local
2624 SizeIndex = 0; in SelectMVE_VMLLDAV()
2627 SizeIndex = 1; in SelectMVE_VMLLDAV()
2633 SelectBaseMVE_VMLLDAV(N, Predicated, OpcodesS, OpcodesU, 2, SizeIndex); in SelectMVE_VMLLDAV()
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2705 size_t SizeIndex; in SelectMVE_VMLLDAV() local
2708 SizeIndex = 0; in SelectMVE_VMLLDAV()
2711 SizeIndex = 1; in SelectMVE_VMLLDAV()
2717 SelectBaseMVE_VMLLDAV(N, Predicated, OpcodesS, OpcodesU, 2, SizeIndex); in SelectMVE_VMLLDAV()