Searched defs:AI (Results 1 - 25 of 113) sorted by relevance

12345

/external/clang/test/Modules/Inputs/merge-template-members/
H A Da1.h8 typedef A<int> AI; typedef in namespace:N
H A Da2.h8 typedef A<int> AI; typedef in namespace:N
/external/llvm/include/llvm/Transforms/Utils/
H A DASanStackFrameLayout.h34 AllocaInst *AI; // The actual AllocaInst. member in struct:llvm::ASanStackVariableDescription
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLoc.cpp47 RelocAddrMap::const_iterator AI = RelocMap.find(Offset); local
50 if (AI != RelocMap.end())
51 E.Begin += AI->second.second;
53 AI = RelocMap.find(Offset);
56 if (AI != RelocMap.end())
57 E.End += AI->second.second;
H A DDWARFFormValue.cpp152 RelocAddrMap::const_iterator AI = cu->getRelocMap()->find(*offset_ptr); local
153 if (AI != cu->getRelocMap()->end()) {
154 const std::pair<uint8_t, int64_t> &R = AI->second;
191 RelocAddrMap::const_iterator AI = cu->getRelocMap()->find(*offset_ptr-4); local
192 if (AI != cu->getRelocMap()->end())
193 Value.uval += AI->second.second;
222 RelocAddrMap::const_iterator AI = local
224 if (AI != cu->getRelocMap()->end())
225 Value.uval += AI->second.second;
/external/llvm/unittests/Transforms/Utils/
H A DIntegerDivision.cpp37 Function::arg_iterator AI = F->arg_begin(); local
38 Value *A = &*AI++;
39 Value *B = &*AI++;
67 Function::arg_iterator AI = F->arg_begin(); local
68 Value *A = &*AI++;
69 Value *B = &*AI++;
97 Function::arg_iterator AI = F->arg_begin(); local
98 Value *A = &*AI++;
99 Value *B = &*AI++;
127 Function::arg_iterator AI local
158 Function::arg_iterator AI = F->arg_begin(); local
188 Function::arg_iterator AI = F->arg_begin(); local
218 Function::arg_iterator AI = F->arg_begin(); local
248 Function::arg_iterator AI = F->arg_begin(); local
[all...]
/external/harfbuzz_ng/src/
H A Dhb-atomic-private.hh67 #define hb_atomic_int_impl_add(AI, V) InterlockedExchangeAdd (&(AI), (V))
85 #define hb_atomic_int_impl_add(AI, V) (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
103 #define hb_atomic_int_impl_add(AI, V) __sync_fetch_and_add (&(AI), (V))
116 #define hb_atomic_int_impl_add(AI, V) ( ({__machine_rw_barrier ();}), atomic_add_int_nv (&(AI), (V)) - (V))
127 static inline int hb_fetch_and_add(volatile int* AI, unsigned int V) { argument
129 int result = __fetch_and_add(AI,
[all...]
/external/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp88 Function::const_arg_iterator AI = F->arg_begin(), AE = F->arg_end(); local
91 if (AI == AE)
98 const Argument *A0 = &*AI++;
99 if (AI == AE)
138 const Argument *A1 = &*AI++;
139 if (AI == AE)
/external/llvm/lib/Target/WebAssembly/InstPrinter/
H A DWebAssemblyInstPrinter.cpp117 APInt AI = FP.bitcastToAPInt(); local
119 std::string(AI.isNegative() ? "-" : "") + "nan:0x" +
120 utohexstr(AI.getZExtValue() &
121 (AI.getBitWidth() == 32 ? INT64_C(0x007fffff) :
/external/llvm/lib/Transforms/IPO/
H A DIPConstantPropagation.cpp76 CallSite::arg_iterator AI = CS.arg_begin();
79 ++i, ++AI, ++Arg) {
85 Constant *C = dyn_cast<Constant>(*AI);
90 } else if (*AI == &*Arg) {
105 Function::arg_iterator AI = F.arg_begin(); local
106 for (unsigned i = 0, e = ArgumentConstants.size(); i != e; ++i, ++AI) {
108 if (ArgumentConstants[i].second || AI->use_empty() ||
109 AI->hasInAllocaAttr() || (AI->hasByValAttr() && !F.onlyReadsMemory()))
113 if (!V) V = UndefValue::get(AI
[all...]
/external/spirv-llvm/lib/SPIRV/
H A DSPIRVRegularizeLLVM.cpp197 auto AI = F->arg_begin(); local
198 if (hasFunctionPointerArg(F, AI)) {
H A DOCLTypeToSPIRV.cpp116 for (unsigned AI = 0, AE = CI->getNumArgOperands(); AI != AE; ++AI) {
117 if (CI->getArgOperand(AI) == V)
118 return AI;
137 auto AI = F->arg_begin(); local
138 std::advance(AI, I);
139 return static_cast<Argument*>(AI);
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DIPConstantPropagation.cpp105 CallSite::arg_iterator AI = CS.arg_begin();
108 ++i, ++AI, ++Arg) {
114 Constant *C = dyn_cast<Constant>(*AI);
119 } else if (*AI == &*Arg) {
134 Function::arg_iterator AI = F.arg_begin(); local
135 for (unsigned i = 0, e = ArgumentConstants.size(); i != e; ++i, ++AI) {
137 if (ArgumentConstants[i].second || AI->use_empty() ||
138 (AI->hasByValAttr() && !F.onlyReadsMemory()))
142 if (V == 0) V = UndefValue::get(AI->getType());
143 AI
[all...]
H A DInliner.cpp137 AllocaInst *AI = IFI.StaticAllocas[AllocaNo]; local
142 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType());
143 if (ATy == 0 || AI->isArrayAllocation())
160 if (AvailableAlloca->getParent() != AI->getParent())
168 // Otherwise, we *can* reuse it, RAUW AI into AvailableAlloca and declare
170 DEBUG(dbgs() << " ***MERGED ALLOCA: " << *AI << "\n\t\tINTO: "
173 AI->replaceAllUsesWith(AvailableAlloca);
174 AI->eraseFromParent();
190 AllocasForType.push_back(AI);
191 UsedAllocas.insert(AI);
[all...]
/external/llvm/lib/CodeGen/
H A DSafeStackColoring.cpp27 const StackColoring::LiveRange &StackColoring::getLiveRange(AllocaInst *AI) { argument
28 const auto IT = AllocaNumbering.find(AI);
59 AllocaInst *AI = Allocas[AllocaNo]; local
61 WorkList.push_back(AI);
H A DStackProtector.cpp61 StackProtector::getSSPLayout(const AllocaInst *AI) const {
62 return AI ? Layout.lookup(AI) : SSPLK_None;
166 bool StackProtector::HasAddressTaken(const Instruction *AI) { argument
167 for (const User *U : AI->users()) {
169 if (AI == SI->getValueOperand())
172 if (AI == SI->getOperand(0))
237 if (const AllocaInst *AI = dyn_cast<AllocaInst>(&I)) {
238 if (AI->isArrayAllocation()) {
244 if (const auto *CI = dyn_cast<ConstantInt>(AI
318 CreatePrologue(Function *F, Module *M, ReturnInst *RI, const TargetLoweringBase *TLI, AllocaInst *&AI) argument
340 AllocaInst *AI = nullptr; // Place on stack that stores the stack guard. local
[all...]
/external/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp102 static std::string APIntToHexString(const APInt &AI) { argument
103 unsigned Width = (AI.getBitWidth() / 8) * 2;
104 std::string HexString = utohexstr(AI.getLimitedValue(), /*LowerCase=*/true);
/external/llvm/tools/bugpoint/
H A DBugDriver.h149 void switchToInterpreter(AbstractInterpreter *AI) { argument
150 Interpreter = AI;
171 AbstractInterpreter *AI,
H A DExecutionDriver.cpp306 AbstractInterpreter *AI,
308 if (!AI) AI = Interpreter;
309 assert(AI && "Interpreter should have been created already!");
354 int RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, OutputFile,
302 executeProgram(const Module *Program, std::string OutputFile, std::string BitcodeFile, const std::string &SharedObj, AbstractInterpreter *AI, std::string *Error) const argument
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DStackProtector.cpp120 if (AllocaInst *AI = dyn_cast<AllocaInst>(II)) {
121 if (AI->isArrayAllocation())
126 if (ArrayType *AT = dyn_cast<ArrayType>(AI->getAllocatedType())) {
151 AllocaInst *AI = 0; // Place on stack that stores the stack guard. local
183 AI = new AllocaInst(PtrTy, "StackGuardSlot", InsPt);
186 Value *Args[] = { LI, AI };
234 LoadInst *LI2 = new LoadInst(AI, "", true, BB);
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
H A DProfilingUtils.cpp67 Function::arg_iterator AI; local
71 AI = MainFn->arg_begin(); ++AI;
72 if (AI->getType() != ArgVTy) {
73 Instruction::CastOps opcode = CastInst::getCastOpcode(AI, false, ArgVTy,
76 CastInst::Create(opcode, AI, ArgVTy, "argv.cast", InitCall));
78 InitCall->setArgOperand(1, AI);
83 AI = MainFn->arg_begin();
86 if (!AI->getType()->isIntegerTy(32)) {
88 if (!AI
[all...]
/external/swiftshader/third_party/LLVM/tools/bugpoint/
H A DBugDriver.h154 void switchToInterpreter(AbstractInterpreter *AI) { argument
155 Interpreter = AI;
176 AbstractInterpreter *AI,
/external/swiftshader/third_party/LLVM/unittests/Analysis/
H A DScalarEvolutionTest.cpp108 Function::arg_iterator AI = F->arg_begin(); local
110 A.push_back(SE.getSCEV(&*AI++));
111 A.push_back(SE.getSCEV(&*AI++));
112 A.push_back(SE.getSCEV(&*AI++));
113 A.push_back(SE.getSCEV(&*AI++));
114 A.push_back(SE.getSCEV(&*AI++));
118 B.push_back(SE.getSCEV(&*AI++));
119 B.push_back(SE.getSCEV(&*AI++));
120 B.push_back(SE.getSCEV(&*AI++));
121 B.push_back(SE.getSCEV(&*AI
[all...]
/external/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp115 Function::arg_iterator AI = F->arg_begin(); local
117 A.push_back(SE.getSCEV(&*AI++));
118 A.push_back(SE.getSCEV(&*AI++));
119 A.push_back(SE.getSCEV(&*AI++));
120 A.push_back(SE.getSCEV(&*AI++));
121 A.push_back(SE.getSCEV(&*AI++));
125 B.push_back(SE.getSCEV(&*AI++));
126 B.push_back(SE.getSCEV(&*AI++));
127 B.push_back(SE.getSCEV(&*AI++));
128 B.push_back(SE.getSCEV(&*AI
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp25 Instruction *InstCombiner::visitAllocaInst(AllocaInst &AI) { argument
29 Type *IntPtrTy = TD->getIntPtrType(AI.getContext());
30 if (AI.getArraySize()->getType() != IntPtrTy) {
31 Value *V = Builder->CreateIntCast(AI.getArraySize(),
33 AI.setOperand(0, V);
34 return &AI;
39 if (AI.isArrayAllocation()) { // Check C != 1
40 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) {
42 ArrayType::get(AI.getAllocatedType(), C->getZExtValue());
43 assert(isa<AllocaInst>(AI)
[all...]

Completed in 407 milliseconds

12345