HomeSort by relevance Sort by last modified time
    Searched defs:AI (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/llvm/lib/DebugInfo/
DWARFDebugLoc.cpp 48 RelocAddrMap::const_iterator AI = RelocMap.find(Offset);
51 if (AI != RelocMap.end())
52 E.Begin += AI->second.second;
54 AI = RelocMap.find(Offset);
57 if (AI != RelocMap.end())
58 E.End += AI->second.second;
DWARFFormValue.cpp 146 RelocAddrMap::const_iterator AI = cu->getRelocMap()->find(*offset_ptr);
147 if (AI != cu->getRelocMap()->end()) {
148 const std::pair<uint8_t, int64_t> &R = AI->second;
182 RelocAddrMap::const_iterator AI = cu->getRelocMap()->find(*offset_ptr);
184 if (AI != cu->getRelocMap()->end())
185 Value.uval += AI->second.second;
196 RelocAddrMap::const_iterator AI
198 if (AI != cu->getRelocMap()->end()) {
199 const std::pair<uint8_t, int64_t> &R = AI->second;
218 RelocAddrMap::const_iterator AI
    [all...]
DWARFDebugLine.cpp 299 RelocAddrMap::const_iterator AI = RMap->find(*offset_ptr);
300 if (AI != RMap->end()) {
301 const std::pair<uint8_t, int64_t> &R = AI->second;
  /external/llvm/include/llvm/Transforms/Utils/
ASanStackFrameLayout.h 34 AllocaInst *AI; // The actual AllocaInst.
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARCUtil.cpp 84 Function::const_arg_iterator AI = F->arg_begin(), AE = F->arg_end();
87 if (AI == AE)
94 const Argument *A0 = AI++;
95 if (AI == AE)
130 const Argument *A1 = AI++;
131 if (AI == AE)
  /external/llvm/unittests/Transforms/Utils/
IntegerDivision.cpp 37 Function::arg_iterator AI = F->arg_begin();
38 Value *A = AI++;
39 Value *B = AI++;
67 Function::arg_iterator AI = F->arg_begin();
68 Value *A = AI++;
69 Value *B = AI++;
97 Function::arg_iterator AI = F->arg_begin();
98 Value *A = AI++;
99 Value *B = AI++;
127 Function::arg_iterator AI = F->arg_begin()
    [all...]
  /external/clang/lib/CodeGen/
CGOpenMPRuntime.cpp 85 llvm::AllocaInst *AI = CGF.CreateTempAlloca(IdentTy, ".kmpc_loc.addr");
86 AI->setAlignment(CGM.getDataLayout().getPrefTypeAlignment(IdentTy));
87 OpenMPLocMap[CGF.CurFn] = AI;
88 LocValue = AI;
CGVTables.cpp 154 llvm::Function::arg_iterator AI = Fn->arg_begin();
156 ++AI;
160 llvm::Value *ThisPtr = &*AI;
  /external/llvm/lib/Transforms/IPO/
IPConstantPropagation.cpp 106 CallSite::arg_iterator AI = CS.arg_begin();
109 ++i, ++AI, ++Arg) {
115 Constant *C = dyn_cast<Constant>(*AI);
120 } else if (*AI == &*Arg) {
135 Function::arg_iterator AI = F.arg_begin();
136 for (unsigned i = 0, e = ArgumentConstants.size(); i != e; ++i, ++AI) {
138 if (ArgumentConstants[i].second || AI->use_empty() ||
139 AI->hasInAllocaAttr() || (AI->hasByValAttr() && !F.onlyReadsMemory()))
143 if (!V) V = UndefValue::get(AI->getType())
    [all...]
Inliner.cpp 182 AllocaInst *AI = IFI.StaticAllocas[AllocaNo];
187 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType());
188 if (!ATy || AI->isArrayAllocation())
203 unsigned Align1 = AI->getAlignment(),
213 if (AvailableAlloca->getParent() != AI->getParent())
221 // Otherwise, we *can* reuse it, RAUW AI into AvailableAlloca and declare
223 DEBUG(dbgs() << " ***MERGED ALLOCA: " << *AI << "\n\t\tINTO: "
226 AI->replaceAllUsesWith(AvailableAlloca);
231 unsigned TypeAlign = DL->getABITypeAlignment(AI->getAllocatedType());
238 AvailableAlloca->setAlignment(AI->getAlignment())
    [all...]
FunctionAttrs.cpp 356 Function::arg_iterator AI = F->arg_begin(), AE = F->arg_end();
358 PI != PE; ++PI, ++AI) {
359 if (AI == AE) {
365 Uses.push_back(AI);
480 Function::arg_iterator AI = F->arg_begin(), AE = F->arg_end();
482 for (CallSite::arg_iterator A = B; A != E; ++A, ++AI) {
484 if (AI == AE) {
490 if (SCCNodes.count(AI))
    [all...]
ArgumentPromotion.cpp 660 CallSite::arg_iterator AI = CS.arg_begin();
663 I != E; ++I, ++AI, ++ArgIndex)
665 Args.push_back(*AI); // Unmodified argument
680 Value *Idx = GetElementPtrInst::Create(*AI, Idxs,
681 (*AI)->getName()+"."+utostr(i),
694 Value *V = *AI;
728 for (; AI != CS.arg_end(); ++AI, ++ArgIndex) {
729 Args.push_back(*AI);
    [all...]
  /external/llvm/lib/CodeGen/
AtomicExpandLoadLinkedPass.cpp 45 bool expandAtomicRMW(AtomicRMWInst *AI);
84 if (AtomicRMWInst *AI = dyn_cast<AtomicRMWInst>(Inst))
85 MadeChange |= expandAtomicRMW(AI);
125 AtomicRMWInst *AI =
131 return expandAtomicRMW(AI);
134 bool AtomicExpandLoadLinked::expandAtomicRMW(AtomicRMWInst *AI) {
135 AtomicOrdering Order = AI->getOrdering();
136 Value *Addr = AI->getPointerOperand();
137 BasicBlock *BB = AI->getParent();
155 BasicBlock *ExitBB = BB->splitBasicBlock(AI, "atomicrmw.end")
    [all...]
StackProtector.cpp 57 StackProtector::getSSPLayout(const AllocaInst *AI) const {
58 return AI ? Layout.lookup(AI) : SSPLK_None;
153 bool StackProtector::HasAddressTaken(const Instruction *AI) {
154 for (const User *U : AI->users()) {
156 if (AI == SI->getValueOperand())
159 if (AI == SI->getOperand(0))
217 if (AllocaInst *AI = dyn_cast<AllocaInst>(II)) {
218 if (AI->isArrayAllocation()) {
225 dyn_cast<ConstantInt>(AI->getArraySize()))
    [all...]
StackColoring.cpp 522 const AllocaInst *AI = dyn_cast_or_null<AllocaInst>(MMO->getValue());
523 if (!AI)
526 if (!Allocas.count(AI))
529 MMO->setValue(Allocas[AI]);
  /external/llvm/lib/Target/X86/
X86AtomicExpandPass.cpp 59 bool shouldExpandAtomicRMW(AtomicRMWInst *AI);
61 bool expandAtomicRMW(AtomicRMWInst *AI);
89 if (AtomicRMWInst *AI = dyn_cast<AtomicRMWInst>(Inst))
90 MadeChange |= expandAtomicRMW(AI);
120 bool X86AtomicExpandPass::shouldExpandAtomicRMW(AtomicRMWInst *AI) {
124 if (needsCmpXchgNb(AI->getType()))
127 if (AI->getType()->getPrimitiveSizeInBits() > NativeWidth)
130 AtomicRMWInst::BinOp Op = AI->getOperation();
144 return !AI->use_empty();
164 if (AtomicRMWInst *AI = dyn_cast<AtomicRMWInst>(Inst)
    [all...]
  /external/llvm/unittests/Analysis/
ScalarEvolutionTest.cpp 108 Function::arg_iterator AI = F->arg_begin();
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/lib/IR/
Function.cpp 71 Function::const_arg_iterator AI = F->arg_begin();
73 for (; &*AI != this; ++AI)
Metadata.cpp 469 int AI = 0;
473 while (AI < AN && BI < BN) {
474 ConstantInt *ALow = cast<ConstantInt>(A->getOperand(2 * AI));
478 addRange(EndPoints, ALow, cast<ConstantInt>(A->getOperand(2 * AI + 1)));
479 ++AI;
485 while (AI < AN) {
486 addRange(EndPoints, cast<ConstantInt>(A->getOperand(2 * AI)),
487 cast<ConstantInt>(A->getOperand(2 * AI + 1)));
488 ++AI;
  /frameworks/compile/slang/
slang_rs.cpp 136 // Type(ai) = Type(bi) must hold;
138 // Name(ai) = Name(bi) must hold;
148 RSExportRecordType::const_field_iterator AI = Reflected->fields_begin(),
152 if ((*AI)->getName() != (*BI)->getName())
154 AI++;
157 PassODR = (AI == (Reflected->fields_end()));
  /external/clang/lib/Frontend/
PrintPreprocessedOutput.cpp 42 MacroInfo::arg_iterator AI = MI.arg_begin(), E = MI.arg_end();
43 for (; AI+1 != E; ++AI) {
44 OS << (*AI)->getName();
49 if ((*AI)->getName() == "__VA_ARGS__")
52 OS << (*AI)->getName();
  /external/llvm/lib/Transforms/Utils/
CodeExtractor.cpp 356 Function::arg_iterator AI = newFunction->arg_begin();
368 GetElementPtrInst::Create(AI, Idx, "gep_" + inputs[i]->getName(), TI);
371 RewriteVal = AI++;
383 AI = newFunction->arg_begin();
384 for (unsigned i = 0, e = inputs.size(); i != e; ++i, ++AI)
385 AI->setName(inputs[i]->getName());
386 for (unsigned i = 0, e = outputs.size(); i != e; ++i, ++AI)
387 AI->setName(outputs[i]->getName()+".out");
  /external/llvm/tools/bugpoint/
Miscompilation.cpp 335 AbstractInterpreter *AI = BD.switchToSafeInterpreter();
349 BD.switchToInterpreter(AI);
371 BD.switchToInterpreter(AI);
    [all...]
  /external/clang/include/clang/CodeGen/
CGFunctionInfo.h 101 auto AI = ABIArgInfo(Direct);
102 AI.setCoerceToType(T);
103 AI.setDirectOffset(Offset);
104 AI.setPaddingType(Padding);
105 return AI;
108 auto AI = getDirect(T);
109 AI.setInReg(true);
110 return AI;
113 auto AI = ABIArgInfo(Extend);
114 AI.setCoerceToType(T)
    [all...]
  /external/llvm/lib/Analysis/
Lint.cpp 225 CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end();
226 for (; AI != AE; ++AI) {
227 Value *Actual = *AI;
239 if (AI != BI && (*BI)->getType()->isPointerTy()) {
240 AliasAnalysis::AliasResult Result = AA->alias(*AI, *BI);
259 for (CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end();
260 AI != AE; ++AI) {
261 Value *Obj = findValue(*AI, /*OffsetOk=*/true)
    [all...]

Completed in 1283 milliseconds

1 2 3