HomeSort by relevance Sort by last modified time
    Searched defs:NewTy (Results 1 - 23 of 23) sorted by null

  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
ValueMapper.cpp 40 FunctionType *NewTy = IA->getFunctionType();
42 NewTy = cast<FunctionType>(TypeMapper->remapType(NewTy));
44 if (NewTy != IA->getFunctionType())
45 V = InlineAsm::get(NewTy, IA->getAsmString(), IA->getConstraintString(),
114 Type *NewTy = C->getType();
116 NewTy = TypeMapper->remapType(NewTy);
120 if (OpNo == NumOperands && NewTy == C->getType())
141 return VM[V] = CE->getWithOperands(Ops, NewTy);
    [all...]
  /frameworks/compile/libbcc/lib/
RSX86CallConvPass.cpp 116 llvm::FunctionType *NewTy = llvm::FunctionType::get(FTy->getReturnType(),
119 llvm::Function *NewFn = llvm::Function::Create(NewTy,
  /external/llvm/lib/Transforms/Utils/
Evaluator.cpp 235 Type *NewTy = cast<PointerType>(Ptr->getType())->getElementType();
238 // from NewTy to Val's type must be legal. If it's not, we can try
239 // introspecting NewTy to find a legal conversion.
240 while (!Val->getType()->canLosslesslyBitCastTo(NewTy)) {
241 // If NewTy is a struct, we can convert the pointer to the struct
244 if (StructType *STy = dyn_cast<StructType>(NewTy)) {
245 NewTy = STy->getTypeAtIndex(0U);
247 IntegerType *IdxTy = IntegerType::get(NewTy->getContext(), 32);
255 // If we can't improve the situation by introspecting NewTy,
266 Val = ConstantExpr::getBitCast(Val, NewTy);
    [all...]
ValueMapper.cpp 366 FunctionType *NewTy = IA->getFunctionType();
368 NewTy = cast<FunctionType>(TypeMapper->remapType(NewTy));
370 if (NewTy != IA->getFunctionType())
371 V = InlineAsm::get(NewTy, IA->getAsmString(), IA->getConstraintString(),
440 Type *NewTy = C->getType();
442 NewTy = TypeMapper->remapType(NewTy);
446 if (OpNo == NumOperands && NewTy == C->getType())
474 return getVM()[V] = CE->getWithOperands(Ops, NewTy, false, NewSrcTy)
    [all...]
  /external/clang/test/CodeGenCXX/
new.cpp 288 typedef int MyClass::* NewTy;
291 NewTy* f() { return new NewTy[2](); }
  /external/spirv-llvm/lib/SPIRV/
OCLTypeToSPIRV.cpp 292 auto NewTy = *PI;
293 if (OCLTyStr == OCL_TYPE_NAME_SAMPLER_T && !NewTy->isStructTy()) {
296 } else if (isPointerToOpaqueStructType(NewTy)) {
297 auto STName = NewTy->getPointerElementType()->getStructName();
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineLoadStoreAlloca.cpp 41 Type *NewTy =
44 AllocaInst *New = Builder->CreateAlloca(NewTy, 0, AI.getName());
  /external/clang/lib/StaticAnalyzer/Checkers/
DynamicTypePropagation.cpp 287 if (const Type *NewTy = getBetterObjCType(CE, C)) {
288 State = setDynamicTypeInfo(State, ToR, QualType(NewTy, 0));
352 const ObjCObjectPointerType *NewTy =
354 if (!NewTy)
358 return NewTy;
366 if (OldTy->isObjCIdType() && !NewTy->isObjCIdType())
367 return NewTy;
370 const ObjCInterfaceDecl *ToI = NewTy->getInterfaceDecl();
373 return NewTy;
    [all...]
  /external/llvm/lib/IR/
DIBuilder.cpp 449 auto NewTy = Ty->clone();
450 NewTy->setFlags(NewTy->getFlags() | FlagsToSet);
451 return MDNode::replaceWithUniqued(std::move(NewTy));
    [all...]
  /external/llvm/lib/Target/AMDGPU/
AMDGPUPromoteAlloca.cpp 731 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS);
734 CI->setOperand(0, ConstantPointerNull::get(NewTy));
737 CI->setOperand(1, ConstantPointerNull::get(NewTy));
747 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS);
751 V->mutateType(NewTy);
756 SI->setOperand(1, ConstantPointerNull::get(NewTy));
759 SI->setOperand(2, ConstantPointerNull::get(NewTy));
763 Phi->setIncomingValue(I, ConstantPointerNull::get(NewTy));
  /external/llvm/lib/Transforms/InstCombine/
InstCombineLoadStoreAlloca.cpp 185 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue());
186 AllocaInst *New = IC.Builder->CreateAlloca(NewTy, nullptr, AI.getName());
314 /// metadata, etc., and returns the new instruction. The \c NewTy should be the
320 static LoadInst *combineLoadToNewType(InstCombiner &IC, LoadInst &LI, Type *NewTy,
328 IC.Builder->CreateBitCast(Ptr, NewTy->getPointerTo(AS)),
359 if (NewTy->isPointerTy()) {
364 if (NewTy->isIntegerTy()) {
365 auto *ITy = cast<IntegerType>(NewTy);
378 if (NewTy->isPointerTy())
    [all...]
  /external/llvm/lib/Transforms/IPO/
LowerTypeTests.cpp 523 StructType *NewTy = cast<StructType>(NewInit->getType());
524 const StructLayout *CombinedGlobalLayout = DL.getStructLayout(NewTy);
547 GlobalAlias *GAlias = GlobalAlias::create(NewTy->getElementType(I * 2), 0,
    [all...]
GlobalOpt.cpp 532 Type *NewTy = NewGlobals[Val]->getValueType();
542 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs);
550 NewTy, NewPtr, Idxs, GEPI->getName() + "." + Twine(Val), GEPI);
    [all...]
  /external/llvm/lib/CodeGen/
AtomicExpandPass.cpp 358 Type *NewTy = getCorrespondingIntegerType(LI->getType(),
364 Type *PT = PointerType::get(NewTy,
442 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(),
444 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy);
447 Type *PT = PointerType::get(NewTy,
    [all...]
CodeGenPrepare.cpp     [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
ScalarReplAggregates.cpp 310 Type *NewTy;
315 NewTy = VectorTy; // Use the vector type.
324 NewTy = IntegerType::get(AI->getContext(), BitWidth);
326 AllocaInst *NewAI = new AllocaInst(NewTy, 0, "", AI->getParent()->begin());
    [all...]
  /external/swiftshader/third_party/subzero/src/
IceTargetLoweringX86BaseImpl.h     [all...]
  /external/llvm/lib/Transforms/Instrumentation/
AddressSanitizer.cpp     [all...]
  /external/clang/lib/CodeGen/
CGExpr.cpp     [all...]
  /external/clang/lib/Sema/
SemaDeclAttr.cpp     [all...]
SemaDecl.cpp     [all...]
SemaDeclCXX.cpp     [all...]

Completed in 2506 milliseconds